Skip to content

Commit 48fabdf

Browse files
authored
Merge pull request #565 from rvermeulen/rvermeulen/fix-finalize-release
Create unique branch to bump version
2 parents 000a447 + af94c60 commit 48fabdf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/finalize-release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ jobs:
109109
git switch main
110110
git pull --ff-only origin main
111111
112-
git switch -c release-automation/bump-version
112+
git switch -c "release-automation/bump-version-to-$NEXT_VERSION"
113113
114114
# We are running the script in the tooling directory with the release directory as the working directory
115115
../tooling/scripts/release/bump-version.sh "$NEXT_VERSION"
116116
117117
git add -u .
118118
git commit -m "Bump version to $NEXT_VERSION"
119-
git push --set-upstream origin release-automation/bump-version
119+
git push --set-upstream origin "release-automation/bump-version-to-$NEXT_VERSION"
120120
121-
gh pr create --repo $GITHUB_REPOSITORY --base main --head release-automation/bump-version --body "Bump the version of main to $NEXT_VERSION" --title "Bump version to $NEXT_VERSION"
121+
gh pr create --repo $GITHUB_REPOSITORY --base main --head "release-automation/bump-version-to-$NEXT_VERSION" --body "Bump the version of main to $NEXT_VERSION" --title "Bump version to $NEXT_VERSION"
122122
working-directory: release

0 commit comments

Comments
 (0)