Skip to content

Commit 5aaca05

Browse files
author
Sebastian Hoß
committed
change all pom versions before release
1 parent 0f2545a commit 5aaca05

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,17 @@ jobs:
5959
fileName: signing.key.asc
6060
fileDir: ${{ github.workspace}}
6161
encodedString: ${{ secrets.GPG_SECRET_KEY_BASE64 }}
62+
- id: pom-version
63+
name: Set Release Version
64+
if: steps.commits.outputs.count > 0
65+
run: mvn --batch-mode --define newVersion=${{ steps.release.outputs.version }} --define generateBackupPoms=false versions:set
6266
- id: deploy-maven
6367
name: Deploy Maven Artifact
6468
if: steps.commits.outputs.count > 0
6569
run: |
6670
mvn \
6771
--batch-mode \
6872
--activate-profiles release \
69-
--define revision=${{ steps.release.outputs.version }} \
7073
--define scmTag=${{ steps.sha.outputs.sha }} \
7174
--define pgp.secretkey=keyfile:signing.key.asc \
7275
--define pgp.passphrase=literal:${{ secrets.GPG_SECRET_KEY_PASSWORD }} \

0 commit comments

Comments
 (0)