From 072ff96e9897a629012233fc58c1b1c43b9efefc Mon Sep 17 00:00:00 2001 From: Johannes Thiem Date: Thu, 16 May 2024 16:17:26 +0200 Subject: [PATCH] chore: change to prod release --- .github/workflows/build-publish-package.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-publish-package.yml b/.github/workflows/build-publish-package.yml index cf3b7c3..13f1c60 100644 --- a/.github/workflows/build-publish-package.yml +++ b/.github/workflows/build-publish-package.yml @@ -22,18 +22,11 @@ jobs: with: name: dist path: dist/* - - name: Publish to Test PyPI + - name: Publish to PyPI + if: startsWith(github.ref, 'refs/tags/') env: TWINE_USERNAME: '__token__' - TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }} + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | pip install twine - twine upload --repository testpypi dist/* - # - name: Publish to PyPI - # if: startsWith(github.ref, 'refs/tags/') - # env: - # TWINE_USERNAME: '__token__' - # TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - # run: | - # pip install twine - # twine upload dist/* + twine upload dist/*