Skip to content

Commit

Permalink
Push releasing branch and next tag atomically
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Jun 25, 2022
1 parent 9d43427 commit b451f97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ func (re *release) do() error {
nextVer,
strings.TrimSpace(buf2.String())))
c.git("tag", nextTag)
c.git("push")
c.git("push", remote, nextTag)
c.git("push", "--atomic", remote, branch, "tag", nextTag)
return c.err
}

0 comments on commit b451f97

Please sign in to comment.