Skip to content

Commit 34f008e

Browse files
committed
Merge branch 'wheelbuilding' into develop
2 parents 933501b + f2b793c commit 34f008e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,13 @@ jobs:
226226
# pypa/gh-action-pypi-publish@master does not work on OSX
227227
# Alpha, Beta and dev releases contain a - in the tag.
228228
if: contains(github.ref, '-') && startsWith(github.ref, 'refs/tags')
229-
run: twine upload --repository-url https://test.pypi.org/legacy/ dist/*
229+
run: twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*
230230
env:
231231
TWINE_USERNAME: __token__
232232
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
233233
- name: Publish package to PyPI
234234
if: "!contains(github.ref, '-') && startsWith(github.ref, 'refs/tags')"
235-
run: twine upload dist/*
235+
run: twine upload --skip-existing dist/*
236236
env:
237237
TWINE_USERNAME: __token__
238238
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)