Skip to content

Commit 4ea19c2

Browse files
committed
fix: also use snapshots to set the version
Signed-off-by: Chris Laprun <[email protected]>
1 parent 4ba6601 commit 4ea19c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/snapshot-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737

3838
- name: Set version to 999.F8-SNAPSHOT and release snapshot
3939
run: |
40-
mvn versions:set -DnewVersion=999.F8-SNAPSHOT versions:commit
40+
mvn versions:set -Puse-snapshots -DnewVersion=999.F8-SNAPSHOT versions:commit
4141
mvn -B deploy -DperformRelease -Dno-samples -Dno-docs -Prelease,use-snapshots
4242
env:
4343
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
4444
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
45-
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
45+
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)