We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48cac97 commit bd8c980Copy full SHA for bd8c980
.github/workflows/create-release-branch.yml
@@ -20,3 +20,13 @@ jobs:
20
BRANCH="release-${TAG%.*}"
21
git switch -c "${BRANCH}"
22
git push origin "${BRANCH}"
23
+ - name: Update release target to release branch
24
+ env:
25
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
+ run: |
27
+ TAG="${GITHUB_REF#refs/tags/}"
28
+ BRANCH="release-${TAG%.*}"
29
+ # Update the release target_commitish so release-drafter
30
+ # (with filter-by-commitish) can find it as the baseline
31
+ # when drafting patch releases on the release branch.
32
+ gh release edit "${TAG}" --target "${BRANCH}"
0 commit comments