Skip to content

Commit

Permalink
try to fix prerelease conditional part 2 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxndtaylor authored Jun 3, 2024
2 parents 757218d + db508ac commit 39cdb19
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 @@ -28,7 +28,7 @@ jobs:
git config --global user.email '[email protected]'
pdm bump tag && git push --tags
tag=$( pdm show --version )
tag_is_full_release=$( test "${tag}" "=~" "^v[0-9]+.[0-9]+.[0-9]+\$" && echo 'TRUE' || echo 'FALSE' )
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}"
- name: Test and get reports
Expand Down

0 comments on commit 39cdb19

Please sign in to comment.