Skip to content

Commit

Permalink
fix(createReleaseTag): only push the tag being created right now (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcpollak authored Jul 22, 2022
1 parent acce1b0 commit dcfa47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export class Publish extends Command<Argv> {

const tagResult = await until(async () => {
const tag = await createTag(nextTag)
await execAsync('git push --tags')
await execAsync(`git push origin ${tag}`)
return tag
})

Expand Down

0 comments on commit dcfa47c

Please sign in to comment.