From eb0801044bdc4b58b19f82a826eff0458e6121bc Mon Sep 17 00:00:00 2001 From: Chris Laprun Date: Tue, 7 Jan 2025 10:48:35 +0100 Subject: [PATCH] fix: use snapshots profile Signed-off-by: Chris Laprun --- .github/workflows/release-snapshot.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-snapshot.yml b/.github/workflows/release-snapshot.yml index 05408e11..99703dbf 100644 --- a/.github/workflows/release-snapshot.yml +++ b/.github/workflows/release-snapshot.yml @@ -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: | @@ -78,4 +78,4 @@ jobs: - prepare-version with: ref: main - version: ${{needs.prepare-version.outputs.version}} \ No newline at end of file + version: ${{needs.prepare-version.outputs.version}}