File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2222 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
2323 gpg-passphrase : MAVEN_GPG_PASSPHRASE
2424
25- # - name: Update version
26- # run: ./mvnw --batch-mode --no-transfer-progress versions:set -DnewVersion=${{ github.event.release.tag_name }}
25+ - name : Update version
26+ run : |
27+ ./mvnw --batch-mode --no-transfer-progress versions:set -DnewVersion=${{ github.event.release.tag_name }} versions:commit
28+ git config user.name "GitHub Action"
29+ git config user.email "[email protected] " 30+ git commit -m "Release ${{ github.event.release.tag_name }}"
31+ git push
2732
2833 - name : Publish to the Maven Central Repository
2934 run : ./mvnw --batch-mode --no-transfer-progress -Dgib.disable=true -Ddocker.cleanup.skip=true -P ossrh -DskipTests deploy
You can’t perform that action at this time.
0 commit comments