File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,18 @@ jobs:
3333 with :
3434 github-token : ${{ secrets.GITHUB_TOKEN }}
3535 skip-version-file : true
36+ skip-commit : true
37+ skip-tag : true
38+ git-push : false
3639
37- - name : Update pom.xml version
40+ - name : Update pom.xml version and push changes
3841 if : steps.changelog.outputs.skipped == 'false'
3942 run : |
4043 mvn versions:set -DnewVersion=${{ steps.changelog.outputs.version }}
4144 mvn versions:commit
42- git config --global user.name 'VoperAD'
43- git config --global user.email 'VoperAD@users.noreply.github.com'
44- git commit -am "chore: bump project version to ${{ steps.changelog.outputs.version }} [skip ci]"
45- git push
45+ git commit -am "chore(release): version ${{ steps.changelog.outputs.tag }} [skip ci]"
46+ git tag -a ${{ steps.changelog.outputs.tag }} -m "${{ steps.changelog.outputs.tag }}"
47+ git push origin main --follow-tags
4648
4749 - name : Generate jar
4850 if : steps.changelog.outputs.skipped == 'false'
You can’t perform that action at this time.
0 commit comments