Skip to content

Commit

Permalink
Merge pull request #82 from itchyny/atomic-push
Browse files Browse the repository at this point in the history
Push releasing branch and next tag atomically
  • Loading branch information
Songmu committed Jun 25, 2022
2 parents 9d43427 + b451f97 commit 12abb4d
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 12abb4d

Please sign in to comment.