Skip to content

Commit 06aa3ac

Browse files
authored
Update python-publish.yml
1 parent 33c4c03 commit 06aa3ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ jobs:
3838
- name: Publish distribution 📦 to Test PyPI
3939
#if: startsWith(github.ref, 'refs/tags')
4040
run: |
41-
#twine upload --repository testpypi wheelhouse/* --verbose
42-
twine upload --repository testpypi dist/*.tar.gz --verbose
41+
#twine upload --skip-existing --repository testpypi wheelhouse/* --verbose
42+
twine upload --skip-existing--repository testpypi dist/*.tar.gz --verbose
4343
4444
env:
4545
TWINE_USERNAME: __token__
4646
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
4747

4848

4949
- name: Publish distribution 📦 to PyPI
50-
if: startsWith(github.ref, 'refs/tags')
50+
#if: startsWith(github.ref, 'refs/tags')
5151
run: |
52-
twine upload wheelhouse/* --verbose
52+
twine upload --skip-existing wheelhouse/* --verbose
5353
env:
5454
TWINE_USERNAME: __token__
5555
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)