Skip to content

Commit

Permalink
fix(release): v prefix present on release computing while version doe…
Browse files Browse the repository at this point in the history
…sn't have it
  • Loading branch information
kilianpaquier committed Mar 2, 2024
1 parent f8bab79 commit 4b607fd
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 @@ -50,7 +50,7 @@ jobs:
- run: echo v${{ steps.semantic_release.outputs.new_release_version }}
- id: release
run: |
if [[ ${{ steps.semantic_release.outputs.new_release_version }} =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
if [[ ${{ steps.semantic_release.outputs.new_release_version }} =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "release=true" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit 4b607fd

Please sign in to comment.