Skip to content

Commit

Permalink
run maven sortpom before committing release version bump (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfkoehler authored Sep 30, 2024
1 parent 4ef5f2f commit b0ec6d2
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 sortpom:sort
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 b0ec6d2

Please sign in to comment.