Skip to content

Commit 7a944f9

Browse files
committed
fix: Remove set version
Signed-off-by: Christopher Lepski <[email protected]>
1 parent 5f469d8 commit 7a944f9

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/release-please.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ jobs:
3939
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
4040
restore-keys: ${{ runner.os }}-m2
4141

42-
- name: Extract tag name
43-
if: ${{ steps.release.outputs.release_created }}
44-
id: extract_tagname
45-
shell: bash
46-
# Extract the tag name from the git reference, value of GITHUB_REF will be something like refs/tags/<tag_name>.
47-
run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})"
48-
4942
- name: Set up JDK 17
5043
if: ${{ steps.release.outputs.release_created }}
5144
uses: actions/setup-java@v4
@@ -69,11 +62,6 @@ jobs:
6962
with:
7063
output_file: custom_maven_settings.xml
7164
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
72-
- name: Set version with Maven
73-
if: ${{ steps.release.outputs.release_created }}
74-
run: ./mvnw -B versions:set -DprocessAllModules=true -DnewVersion=${{ steps.extract_tagname.outputs.tagname }}
75-
env:
76-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7765
- name: Deploy with Maven to GitHub Packages and Docker Hub
7866
if: ${{ steps.release.outputs.release_created }}
7967
run: ./mvnw -B -s custom_maven_settings.xml -Pnative-image,release clean deploy

0 commit comments

Comments
 (0)