Skip to content

Commit 2ea6e9c

Browse files
committed
Fix version output in release.yml
1 parent 011d03a commit 2ea6e9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- id: version
2323
run: |
2424
VERSION=$( mvn -B help:evaluate -Dexpression=project.version -q -DforceStdout )
25-
echo "::set-output name=version::${VERSION#-SNAPSHOT}"
25+
echo "::set-output name=version::${VERSION%-SNAPSHOT}"
2626
- uses: GabrielBB/xvfb-action@v1
2727
with:
2828
run: mvn -B release:prepare release:perform

0 commit comments

Comments
 (0)