Skip to content

Commit 62eaacb

Browse files
authored
Update create_release_tag.yml
1 parent 96b9b6c commit 62eaacb

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/create_release_tag.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)