diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a475eebbb..1721ce877 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/*