We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 106d6d7 commit 9dadb11Copy full SHA for 9dadb11
.github/workflows/ci.yml
@@ -211,8 +211,9 @@ jobs:
211
- name: "Create release tag"
212
if: success() && steps.publish.outcome == 'success'
213
run: |
214
- VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
+ VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout | sed 's/-SNAPSHOT//')
215
+ ARTIFACT_ID=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)
216
git config --global user.name "${GIT_USERNAME:-github-actions[bot]}"
217
git config --global user.email "${GIT_EMAIL:-github-actions[bot]@users.noreply.github.com}"
- git tag "$VERSION"
218
- git push origin "$VERSION"
+ git tag "$ARTIFACT_ID"-"$VERSION"
219
+ git push origin "$ARTIFACT_ID"-"$VERSION"
0 commit comments