Skip to content

Commit 283899f

Browse files
committed
Set version during jreleaserDeploy task
1 parent b64d3bb commit 283899f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
3434
- name: Run Gradle Deploy
3535
run: |
36-
./gradlew jreleaserDeploy --scan --no-daemon -i
36+
./gradlew jreleaserDeploy -Pversion="${{github.event.release.tag_name}}" --scan --no-daemon -i
3737
env:
3838
JRELEASER_GPG_PUBLIC_KEY: ${{ vars.GPG_PUBLIC_KEY }}
3939
JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_SIGNING_KEY }}

0 commit comments

Comments
 (0)