diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e433b4f..a6110d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,15 +31,15 @@ jobs: cache: maven - name: Generate Changelog run: mvn git-changelog-maven-plugin:git-changelog + - name: Configure Git user + run: | + git config user.email "actions@github.com" + git config user.name "GitHub Actions" - name: Commit Changelog run: | git add CHANGELOG.md git commit -m "docs: update changelog for version ${{ github.event.inputs.releaseVersion }}" git push origin main - - name: Configure Git user - run: | - git config user.email "actions@github.com" - git config user.name "GitHub Actions" - name: Prepare Release run: | set -e