Try to fix patch release process (#3627)

The whole point of patch releases is that they're not on the `main`
branch, so this is an attempt to handle #3621.
This commit is contained in:
Alex Crichton
2021-12-21 09:50:31 -06:00
committed by GitHub
parent ad6f76a789
commit 222d6fbc09

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 main:ci/bump-version -f
git push origin HEAD:ci/bump-version -f
- name: Make a PR
# Note that the syntax here is kinda funky, and the general gist is that
@@ -92,7 +92,7 @@ jobs:
--data @- << EOF
{
"head": "ci/bump-version",
"base": "main",
"base": "${{ github.base_ref }}",
"title": "Release Wasmtime ${{ steps.bump.outputs.version }}",
"body": $body,
"maintainer_can_modify": true