From b95262702e7b066a907684a39001b21b39582897 Mon Sep 17 00:00:00 2001 From: "jose.pereda" Date: Wed, 30 Mar 2022 18:36:25 +0200 Subject: [PATCH] build: Set release version, but without commit to master --- .github/workflows/release.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e52485693..594c79123 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -122,13 +122,9 @@ jobs: - name: Download all build artifacts uses: actions/download-artifact@v2 - - name: Version + - name: Set Release Version run: | - mvn -B -ntp versions:set versions:commit -DnewVersion=${{ needs.precheck.outputs.PROJECT_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 "Releasing version ${{ needs.precheck.outputs.PROJECT_VERSION }}" - git push origin master + mvn -B -ntp -q versions:set -DnewVersion=${{ needs.precheck.outputs.PROJECT_VERSION }} -DgenerateBackupPoms=false - name: Release with JReleaser env: