Skip to content

Commit 16c3855

Browse files
committed
chore: update release workflow
1 parent 60d7dd6 commit 16c3855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
194194
- name: 'Release with JReleaser'
195195
env:
196-
JRELEASER_BRANCH: ${GITHUB_REF#refs/heads/}
196+
JRELEASER_BRANCH: ${{ needs.set-release-version.outputs.HEAD }}
197197
JRELEASER_GITHUB_TOKEN: ${{ secrets.PAT }}
198198
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
199199
JRELEASER_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
@@ -223,4 +223,4 @@ jobs:
223223
run: |
224224
find . -name 'pom.xml' | xargs git add
225225
git commit -m "ci: bump version for next iteration to ${{ env.NEXT_VERSION }} 🤖"
226-
git push origin HEAD:${GITHUB_REF#refs/heads/}
226+
git push origin HEAD:${{ needs.set-release-version.outputs.HEAD }}

0 commit comments

Comments
 (0)