Skip to content

Commit 6eadea7

Browse files
committed
fix: use snapshots profile when changing version as well
Signed-off-by: Chris Laprun <[email protected]>
1 parent 8e48f6d commit 6eadea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
if: ${{ inputs.version != '' }}
5353
run: |
5454
echo "Set version to ${{inputs.version}}"
55-
mvn versions:set -DnewVersion="${{inputs.version}}" versions:commit
55+
mvn versions:set -DnewVersion="${{inputs.version}}" versions:commit -Puse-snapshots
5656
5757
- name: Output information
5858
run: echo "Release snapshot for branch ${{inputs.branch}} with version $(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"

0 commit comments

Comments
 (0)