From ae2aa9d4740a9351cb0d7cd38f69761ac5797019 Mon Sep 17 00:00:00 2001 From: nscuro Date: Mon, 24 Oct 2022 11:53:44 +0200 Subject: [PATCH] Specify the target branch when creating a release via GitHub CLI It uses `master` per default, which is not the intention when releasing from a release branch. Signed-off-by: nscuro --- .github/workflows/ci-release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-release.yaml b/.github/workflows/ci-release.yaml index 45dc8b2a6..1fa685adb 100644 --- a/.github/workflows/ci-release.yaml +++ b/.github/workflows/ci-release.yaml @@ -50,5 +50,6 @@ jobs: fi gh release create "${VERSION}" ${GH_OPTS} \ + --target "${{ github.ref_name }}" \ --title "${VERSION}" \ --notes-file ".github/default-release-notes.md"