ci: Scope version bump branch name (#3894)

This avoids a situation such as for the last point release where we had
different point releases all use the same branch name which forced us
make one release at a time. By putting the version number in the branch
name that should hopefully fix this.
This commit is contained in:
Alex Crichton
2022-03-07 13:41:31 -06:00
committed by GitHub
parent 526b892168
commit 7b0238fd7e

View File

@@ -60,7 +60,7 @@ jobs:
- name: Push to remote
run: |
git remote set-url origin https://git:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${{ github.repository }}
git push origin HEAD:ci/bump-version -f
git push origin HEAD:ci/bump-to-${{ steps.bump.outputs.version }} -f
- name: Make a PR
# Note that the syntax here is kinda funky, and the general gist is that
@@ -91,7 +91,7 @@ jobs:
--header "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
--data @- << EOF
{
"head": "ci/bump-version",
"head": "ci/bump-to-${{ steps.bump.outputs.version }}",
"base": "${{ github.ref_name }}",
"title": "Release Wasmtime ${{ steps.bump.outputs.version }}",
"body": $body,