From e2437d0d467d8ae816b3dcf194a7988f847a1f54 Mon Sep 17 00:00:00 2001 From: Connor Date: Thu, 26 Sep 2024 05:55:53 -0400 Subject: [PATCH 1/2] run maven formatter before commiting release version bump --- .github/workflows/maven-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 0fd1c8b0c0..a17e7e0a69 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -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 }} From 6345366e30dcaaebe859af24c28bc1b60fc43012 Mon Sep 17 00:00:00 2001 From: Connor Koehler <83408002+cfkoehler@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:25:01 -0400 Subject: [PATCH 2/2] Update .github/workflows/maven-release.yml Co-authored-by: jpdahlke --- .github/workflows/maven-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index a17e7e0a69..41c5ba10ff 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -105,7 +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 + 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 }}