Skip to content

Commit

Permalink
Change tag-push to --atomic
Browse files Browse the repository at this point in the history
According to many sources, this pushes not only the tags but also the
commits as well.
  • Loading branch information
pepoluan committed Mar 8, 2021
1 parent 1f84048 commit 38bb59d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@
# The annotation information should come from the changelog
subprocess.run(["git", "tag", "-a", version])
# And now push the tag, of course.
subprocess.run(["git", "push", UPSTREAM_REMOTE, "--tags"])
subprocess.run(["git", "push", "--atomic", UPSTREAM_REMOTE, "master", version])

0 comments on commit 38bb59d

Please sign in to comment.