Skip to content

Commit 986a0f3

Browse files
committed
Improve release workflow
1 parent ce076be commit 986a0f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,13 @@ jobs:
5151
run: |
5252
mvn --batch-mode clean release:clean release:prepare release:perform \
5353
-DreleaseVersion=${{ inputs.release_version }} \
54+
-DautoVersionSubmodules=true \
5455
-Dscm.url=https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git \
5556
-Dscm.developerConnection=https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git \
5657
-Darguments="-DskipTests -Dgpg.executable=gpg"
5758
- name: Generate fat jar
5859
run: |
60+
mvn versions:set -DnewVersion=${{ inputs.release_version }}
5961
mvn compile assembly:single
6062
- name: Upload fat jar as artifact
6163
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)