diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a762a20e..67df5763 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: mvn -B versions:set versions:commit -DnewVersion=$VERSION git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --global user.name "GitHub Action" - git commit -a -m "release version v$VERSION" + git commit --allow-empty -a -m "release version v$VERSION" git push origin main - name: Deploy with Maven run: mvn -B deploy -DskipTests -Prelease --file pom.xml