Skip to content

Commit

Permalink
fix release version check (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
strokyl authored Oct 14, 2024
1 parent d391136 commit 5de4689
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 @@ -15,7 +15,7 @@ jobs:
- name: Check version prefix
shell: bash
run: |
if [ "${{ startsWith(github.event.inputs.version, 'v') }}" == "false" ]; then
if [ "${{ startsWith(github.event.release.tag_name, 'v') }}" == "false" ]; then
echo "Invalid version, need to start with a 'v'"
exit 1
fi
Expand Down

0 comments on commit 5de4689

Please sign in to comment.