Skip to content

Commit

Permalink
update .github/workflows/pypi-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Dec 13, 2024
1 parent 8c4f3d3 commit 9bdc79f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
id: create-release
run: |
VERSION=$(./scripts/version-core)
if pip index versions pyglossary --pre | grep "$VERSION," ; then
echo 'Package version $VERSION already exists on pypi'
if pip index versions pyglossary --pre --ignore-requires-python | grep "$VERSION," ; then
echo "Package version $VERSION already exists on pypi"
echo "skipnext=true" >> $GITHUB_OUTPUT
exit 0
fi
Expand Down

0 comments on commit 9bdc79f

Please sign in to comment.