Skip to content

Commit

Permalink
🔖 liteyuki 6.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
snowykami committed Aug 18, 2024
1 parent 9c35abc commit aa9abde
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,5 @@ jobs:

- uses: pdm-project/setup-pdm@v3

- name: Check version
run: |
current_version=$(pdm show --json | jq -r '.version')
echo "Current version: $current_version"
package_name=$(pdm show --json | jq -r '.name')
last_version=$(curl -s https://pypi.org/pypi/$package_name/json | jq -r '.info.version')
echo "Last version on PyPI: $last_version"
if [ "$current_version" == "$last_version" ]; then
echo "Version has not been updated."
exit 1
fi
- name: Publish package distributions to PyPI
run: pdm publish

0 comments on commit aa9abde

Please sign in to comment.