diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index d58fe56..662947d 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -22,7 +22,7 @@ jobs: settings-path: ${{ github.workspace }} # location for the settings.xml file - name: Set version - run: mvn versions:set -DnewVersion=$VERSION + run: mvn versions:set -DnewVersion=${{ github.event.release.name }} - name: Build with Maven run: mvn -B package --file pom.xml