Skip to content

Commit

Permalink
fix tag for auto release version missing the "v" at start (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxndtaylor authored Jun 3, 2024
2 parents ed25f9d + 39d921a commit 6f44df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
git config --global user.name 'Auto'
git config --global user.email '[email protected]'
pdm bump tag && git push --tags
tag=$( pdm show --version )
tag=v$( pdm show --version )
tag_is_full_release=$( [[ "${tag}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+\$ ]] && echo 'TRUE' || echo 'FALSE' )
echo "tag=${tag}" >> "$GITHUB_OUTPUT"
echo "full-release=${tag_is_full_release}"
Expand Down

0 comments on commit 6f44df4

Please sign in to comment.