From 222d6fbc09e442bf0c9cd17b80f037be16bc7204 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 21 Dec 2021 09:50:31 -0600 Subject: [PATCH] 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. --- .github/workflows/bump-version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 873928191b..bce7ab1b2f 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -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