Skip to content

Commit

Permalink
chore: change to prod release
Browse files Browse the repository at this point in the history
  • Loading branch information
Fovty committed May 16, 2024
1 parent b2cd06a commit 072ff96
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/build-publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

0 comments on commit 072ff96

Please sign in to comment.