We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcbda97 commit 4bcff63Copy full SHA for 4bcff63
.github/workflows/maven_publish.yml
@@ -21,8 +21,14 @@ jobs:
21
java-version: '21'
22
distribution: 'temurin'
23
24
+ - name: Extract version from pom.xml
25
+ id: get_version
26
+ run: |
27
+ VERSION=$(grep -m1 '<version>' pom.xml | sed -E 's/.*<version>([^<]+)<\/version>.*/\1/')
28
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
29
+
30
- name: Run Maven Release
- run: mvn clean install && mvn semantic-version:release
31
+ run: mvn clean install && mvn io.github.zorin95670:semantic-version:${{ steps.get_version.outputs.version }}:release
32
33
- name: Push commit and tags
34
run: |
0 commit comments