Skip to content

Commit 34e7216

Browse files
committed
Update publish workflow
1 parent e0ae7ae commit 34e7216

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
4343
- name: Publish package
4444
run: |
45-
mvn -B versions:set -DnewVersion=${GITHUB_REF##*/}
45+
mvn -B versions:set -DnewVersion="${{ github.event.release.tag_name }}"
4646
xvfb-run --auto-servernum mvn -B -Prelease-sign-artifacts -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} package javadoc:aggregate-jar deploy
4747
env:
4848
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}

0 commit comments

Comments
 (0)