Skip to content

Commit 83e5ade

Browse files
author
Ramachandran Nellaiyappan
committed
[feat] mvn version step added to change version based on tag
1 parent 5241170 commit 83e5ade

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/maven-package-publish-workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
java-version: '21'
2727
distribution: 'temurin'
2828
cache: maven
29+
- name: Set Release Version
30+
run: mvn versions:set -DnewVersion=$GITHUB_REF_NAME -DgenerateBackupPoms=false
2931
- name: Build with Maven
3032
run: mvn -B package --file pom.xml
3133

0 commit comments

Comments
 (0)