From 01da8e2e1263aa7026d9ba7e41946083cdc1ec4c Mon Sep 17 00:00:00 2001 From: Michael Krog Date: Fri, 20 Oct 2023 10:54:14 +0200 Subject: [PATCH] Fixes version --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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