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 45374e0 commit d39747f
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 @@ -12,7 +12,7 @@ jobs:
steps:
- name: Fetch information from PyPI
run: |
response=$(curl -s https://pypi.org/pypi/p/${{ github.event.repository.name }}/json || echo "{}")
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
echo "Package not found on PyPI."
Expand Down

0 comments on commit d39747f

Please sign in to comment.