Skip to content

Commit

Permalink
fix: use snapshots profile
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Laprun <[email protected]>
  • Loading branch information
metacosm committed Jan 7, 2025
1 parent 634c4e6 commit 70006b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
- name: Retrieve and export project version
id: project-version
run: |
version=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)
version=$(./mvnw help:evaluate -Puse-snapshots -Dexpression=project.version -q -DforceStdout)
echo "Project version: ${version}"
echo "version=${version}" >> $GITHUB_OUTPUT
- name: Override project version if requested
id: snapshot-version
run: |
Expand All @@ -78,4 +78,4 @@ jobs:
- prepare-version
with:
ref: main
version: ${{needs.prepare-version.outputs.version}}
version: ${{needs.prepare-version.outputs.version}}

0 comments on commit 70006b6

Please sign in to comment.