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 c5b8893 commit b442cb6Copy full SHA for b442cb6
.github/workflows/build.yml
@@ -144,3 +144,13 @@ jobs:
144
GPG_PKEY_PASS: ${{ secrets.GPG_PKEY_PASS }}
145
NEXUS_USER: ${{ secrets.NEXUS_USER }}
146
NEXUS_PASS: ${{ secrets.NEXUS_PASS }}
147
+
148
+ - name: Tag version (RELEASE)
149
+ if: startsWith(github.ref, 'refs/heads/release/')
150
+ run: |
151
+ export REVISION=$(</tmp/mvnw-project-version.out)
152
+ export TAG="v$REVISION"
153
+ git config user.name github-actions
154
+ git config user.email [email protected]
155
+ git tag "$TAG"
156
+ git push origin "$TAG"
0 commit comments