Skip to content

Commit

Permalink
ci: pypi deployment replace setuptools with hatch (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
clement-bonnet authored Mar 15, 2024
1 parent 45605f8 commit d462d54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
python-version: "3.x"
- name: Install dependencies
run: |
pip install --upgrade pip setuptools twine
pip install --upgrade pip hatch twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist
hatch build
twine upload dist/*

0 comments on commit d462d54

Please sign in to comment.