From 7d31e4da8063edb63be4e5c1b2516019b4ac900b Mon Sep 17 00:00:00 2001 From: RuanJohn Date: Wed, 28 Feb 2024 17:18:37 +0200 Subject: [PATCH] chore: use twine for release --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 82131195..74593a86 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,11 +16,11 @@ jobs: python-version: "3.x" - name: Install dependencies run: | - pip install --upgrade pip hatch twine + pip install --upgrade pip setuptools twine - name: Build and publish env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | - hatch build + python setup.py sdist twine upload dist/*