From 60cc386be4a0fe47dfc00e35c210338fe941c74f Mon Sep 17 00:00:00 2001 From: Christopher Lepski Date: Mon, 10 Feb 2025 12:48:38 +0100 Subject: [PATCH] fix: Remove custom set version steps Signed-off-by: Christopher Lepski --- .github/workflows/release-please.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index f678bceb..8fc8d927 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -33,13 +33,6 @@ jobs: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }} - - name: Extract tag name - if: ${{ steps.release.outputs.release_created }} - id: extract_tagname - shell: bash - # Extract the tag name from the git reference, value of GITHUB_REF will be something like refs/tags/. - run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})" - - name: Set up JDK 17 if: ${{ steps.release.outputs.release_created }} uses: actions/setup-java@v4 @@ -64,11 +57,6 @@ jobs: with: output_file: custom_maven_settings.xml servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' - - name: Set version with Maven - if: ${{ steps.release.outputs.release_created }} - run: ./mvnw -B versions:set -DprocessAllModules=true -DnewVersion=${{ steps.extract_tagname.outputs.tagname }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Deploy with Maven to GitHub Packages and Docker Hub if: ${{ steps.release.outputs.release_created }} run: ./mvnw -B -s custom_maven_settings.xml -Pjvm-image,release clean deploy