Skip to content

Commit

Permalink
fix tag
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Apr 10, 2024
1 parent 911b6d7 commit 4068312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export async function run(): Promise<void> {
}

await git.raw('tag', '-fa', tagVersion, '-m', tagMessage)
await git.raw('push', 'origin', '-f', `refs/tags/${branchName}`)
await git.raw('push', 'origin', '-f', `refs/tags/${tagVersion}`)
} catch (error) {
// Fail the workflow run if an error occurs
if (error instanceof Error) core.setFailed(error.message)
Expand Down

0 comments on commit 4068312

Please sign in to comment.