Skip to content

Commit

Permalink
wip: debug
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 691435f commit c1efa60
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -78,4 +80,4 @@ jobs:
- prepare-version
with:
ref: main
version: ${{needs.prepare-version.outputs.version}}
version: ${{needs.prepare-version.outputs.version}}

0 comments on commit c1efa60

Please sign in to comment.