We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7c42c4 commit fd5b75bCopy full SHA for fd5b75b
1 file changed
templates/github/.github/workflows/scripts/release.sh
@@ -24,6 +24,5 @@ towncrier build --yes --version "${NEW_VERSION}"
24
bump-my-version bump release --commit --message "Release {new_version}" --tag --tag-name "{new_version}" --tag-message "Release {new_version}" --allow-dirty
25
bump-my-version bump patch --commit
26
27
-# Git push is not atomic. And we want this to fail if the branch could not be updated.
28
-git push origin "${BRANCH}"
29
-git push origin "${NEW_VERSION}"
+# Git push is not atomic by default!
+git push --atomic origin "${BRANCH}" "${NEW_VERSION}"
0 commit comments