Skip to content

Commit

Permalink
fix: also use snapshots to set the version
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Laprun <claprun@redhat.com>
  • Loading branch information
metacosm committed Jan 25, 2024
1 parent 1f25f41 commit f81f2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/snapshot-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:

- name: Set version to 999.F8-SNAPSHOT and release snapshot
run: |
mvn versions:set -DnewVersion=999.F8-SNAPSHOT versions:commit
mvn versions:set -Puse-snapshots -DnewVersion=999.F8-SNAPSHOT versions:commit
gpg --quiet --batch --yes --decrypt --passphrase="${{secrets.GPG_PASSPHRASE}}" --output maven-settings.xml .github/release/maven-settings.xml.gpg
mvn -B deploy -DperformRelease -Dno-samples -Prelease,use-snapshots -s maven-settings.xml

0 comments on commit f81f2ab

Please sign in to comment.