Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaDuina authored Dec 19, 2024
1 parent aba93a6 commit e89cf3c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ jobs:
- name: Install dependencies
run: poetry install --no-interaction --no-ansi

- name: Check version bump
run: |
VERSION=$(poetry version -s)
echo "Current version is $VERSION"
if git log -1 --pretty=%B | grep -q "$VERSION"; then
echo "Error: Version number has not been updated in pyproject.toml."
exit 1
fi
- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
Expand Down

0 comments on commit e89cf3c

Please sign in to comment.