Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion templates/github/.github/workflows/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ towncrier build --yes --version "${NEW_VERSION}"
bump-my-version bump release --commit --message "Release {new_version}" --tag --tag-name "{new_version}" --tag-message "Release {new_version}" --allow-dirty
bump-my-version bump patch --commit

git push origin "${BRANCH}" "${NEW_VERSION}"
# Git push is not atomic. And we want this to fail if the branch could not be updated.
git push origin "${BRANCH}"
git push origin "${NEW_VERSION}"