File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,11 @@ jobs:
2424 gpg-private-key : ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
2525 gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
2626 - name : Enforce project version ${{ github.event.inputs.tag }}
27- run : mvn versions:set -B -DnewVersion=${{ github.event.inputs.tag }}
27+ run : mvn versions:set -B -DnewVersion=$GIT_TAG
2828 - name : Deploy
2929 run : mvn deploy -B -DskipTests -Psign,deploy-central --no-transfer-progress
3030 env :
31+ GIT_TAG : ${{ github.event.inputs.tag }}
3132 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
3233 MAVEN_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
3334 MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments