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 6bfc6d1 commit 7742a03
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}"
- run: mvn -B release:prepare release:perform
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down

0 comments on commit 7742a03

Please sign in to comment.