Skip to content

Commit ae2aa9d

Browse files
committed
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 <[email protected]>
1 parent 0cc1cb0 commit ae2aa9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,6 @@ jobs:
5050
fi
5151
5252
gh release create "${VERSION}" ${GH_OPTS} \
53+
--target "${{ github.ref_name }}" \
5354
--title "${VERSION}" \
5455
--notes-file ".github/default-release-notes.md"

0 commit comments

Comments
 (0)