Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rhjdjong authored Dec 4, 2024
1 parent d39747f commit 1b4153e
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 @@ -14,7 +14,7 @@ jobs:
run: |
response=$(curl -s https://pypi.org/pypi/${{ github.event.repository.name }}/json || echo "{}")
latest_version=$(echo $response | jq --raw-output "select(.releases != null) | .releases | keys_unsorted | last")
if [ -z "$latest_previous_version" ]; then
if [ -z "$latest_version" ]; then
echo "Package not found on PyPI."
latest_version="0.0.0"
fi
Expand Down

0 comments on commit 1b4153e

Please sign in to comment.