Skip to content

Commit bdde99c

Browse files
Merge pull request #313 from com-pas/develop
Merge develop into main
2 parents cd893b9 + 985b66e commit bdde99c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/release-project.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ jobs:
1818
- name: Checkout
1919
uses: actions/checkout@v3
2020

21-
- name: Extract tag name
22-
id: extract_tagname
23-
shell: bash
24-
# Extra the tagname form the git reference, value of GITHUB_REF will be something like refs/tags/<tag_name>.
25-
run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})"
26-
2721
- name: Set up JDK 17
2822
uses: actions/setup-java@v3
2923
with:
@@ -36,7 +30,7 @@ jobs:
3630
output_file: custom_maven_settings.xml
3731
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
3832
- name: Set version with Maven
39-
run: mvn -B versions:set -DprocessAllModules=true -DnewVersion=${{ steps.extract_tagname.outputs.tagname }}
33+
run: mvn -B versions:set -DprocessAllModules=true -DnewVersion=${{ github.ref_name }}
4034
env:
4135
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4236
- name: Deploy with Maven to GitHub Packages

0 commit comments

Comments
 (0)