diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 66a65de..4d73a86 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -26,7 +26,7 @@ jobs: mvn -B -ntp -Dstyle.color=always release:prepare VERSION=`cat release.properties | grep scm.tag= | cut -d'=' -f2` mvn -B -ntp -Dstyle.color=always release:perform - echo "Released version ${VERSION}. 🚀" >> $GITHUB_STEP_SUMMARY + echo "Released ${VERSION} 🚀" >> $GITHUB_STEP_SUMMARY env: GPG_PASSPHRASE: '' SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} diff --git a/README.md b/README.md index a0ef544..0e949ac 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,13 @@ jobs: server-username: SONATYPE_USERNAME server-password: SONATYPE_TOKEN - name: Release with Maven - run: 'mvn -B -ntp -Dstyle.color=always release:prepare release:perform' + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + mvn -B -ntp -Dstyle.color=always release:prepare + VERSION=`cat release.properties | grep scm.tag= | cut -d'=' -f2` + mvn -B -ntp -Dstyle.color=always release:perform + echo "Released ${VERSION} 🚀" >> $GITHUB_STEP_SUMMARY env: GPG_PASSPHRASE: '' SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}