diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0561877..d70f408 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,5 +18,5 @@ jobs: server-username: ${{ secrets.JENKINS_USERNAME }} server-password: ${{ secrets.JENKINS_TOKEN }} - run: | - ./mvnw versions:set -DnewVersion=${{ env.VERSION }} - ./mvnw publish + ./mvnw versions:set -DnewVersion=${GITHUB_REF:10} + ./mvnw deploy