From c1efa601e6289cd8c56a5f96a846ed74b5c865b1 Mon Sep 17 00:00:00 2001 From: Chris Laprun Date: Tue, 7 Jan 2025 10:48:35 +0100 Subject: [PATCH] wip: debug Signed-off-by: Chris Laprun --- .github/workflows/release-snapshot.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-snapshot.yml b/.github/workflows/release-snapshot.yml index 05408e117..bdf1c14d5 100644 --- a/.github/workflows/release-snapshot.yml +++ b/.github/workflows/release-snapshot.yml @@ -55,10 +55,12 @@ jobs: - name: Retrieve and export project version id: project-version run: | - version=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout) + echo "foo" + version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout -X) + echo "Exit code: $?" echo "Project version: ${version}" echo "version=${version}" >> $GITHUB_OUTPUT - + - name: Override project version if requested id: snapshot-version run: | @@ -78,4 +80,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}}