From 9e4dfdf72a4d2ab52c66ee9e16c609990d4976d9 Mon Sep 17 00:00:00 2001 From: Douglas Wilson Date: Fri, 10 May 2024 12:40:59 +0100 Subject: [PATCH] chore: releasing hugr-py-0.2.0-pre --- .github/workflows/python-wheels.yml | 2 +- .github/workflows/release-please.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index a810c8850..a0483ed10 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: branches: - - main + - 'release/hugr-py-0.2.0-pre*' tags: - '**' diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e5515cc14..ed6ccad31 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -6,6 +6,7 @@ on: push: branches: - main + - 'release/hugr-py-0.2.0-pre*' permissions: contents: write @@ -20,3 +21,5 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} config-file: release-please-config.json + # https://stackoverflow.com/a/71158878 + target-branch: ${{ github.head_ref || github.ref_name }}