Skip to content

Commit

Permalink
run maven formatter before commiting release version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
cfkoehler committed Sep 26, 2024
1 parent 059cdbb commit e2437d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
run: |
mvn -V -B -e versions:set -DnewVersion=${{ env.RELEASE_VERSION }} -DprocessAllModules -DgenerateBackupPoms=false
mvn -V -B -e versions:set-scm-tag -DnewTag=${{ env.RELEASE_VERSION }} -DgenerateBackupPoms=false
mvn -V -B -e clean formatter:format sortpom:sort impsort:sort -Pautoformat
git commit -am "[github-actions](${{ github.actor }}) release ${{ env.RELEASE_VERSION }}"
git tag -a ${{ env.RELEASE_VERSION }} -m "${{ env.RELEASE_VERSION }}"
git push origin release/${{ env.RELEASE_VERSION }}
Expand Down

0 comments on commit e2437d0

Please sign in to comment.