File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,17 @@ jobs:
1818 cache : ' maven'
1919
2020 - name : Set Release Version
21- id : create_release
21+ id : release
2222 run : |
23- mvn versions:set versions:commit -DremoveSnapshot
24- echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
23+ mvn -B versions:set versions:commit -DremoveSnapshot
24+ echo "version=$(mvn -B help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT
2525
2626 - uses : stefanzweifel/git-auto-commit-action@v5
2727 with :
28- commit_message : " Prepare release: github-api-${{ steps.new_release .outputs.version }}"
29- tagging_message : ' github-api-${{ steps.new_release .outputs.version }}'
28+ commit_message : " Prepare release: github-api-${{ steps.release .outputs.version }}"
29+ tagging_message : ' github-api-${{ steps.release .outputs.version }}'
3030
3131 - name : Increment Snapshot Version
32- id : next_snapshot
3332 run : |
3433 mvn versions:set versions:commit -DnextSnapshot
3534
You can’t perform that action at this time.
0 commit comments