Skip to content

Commit

Permalink
Fix version output in release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dheid committed Jul 15, 2024
1 parent 011d03a commit 2ea6e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- id: version
run: |
VERSION=$( mvn -B help:evaluate -Dexpression=project.version -q -DforceStdout )
echo "::set-output name=version::${VERSION#-SNAPSHOT}"
echo "::set-output name=version::${VERSION%-SNAPSHOT}"
- uses: GabrielBB/xvfb-action@v1
with:
run: mvn -B release:prepare release:perform
Expand Down

0 comments on commit 2ea6e9c

Please sign in to comment.