Overwrite existing distributions when uploading to test PyPI. (#12658)

This commit is contained in:
Predrag Gruevski 2023-10-31 13:02:50 -04:00 committed by GitHub
parent da94c750c5
commit 360cff81a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,11 @@ jobs:
print-hash: true
repository-url: https://test.pypi.org/legacy/
# We overwrite any existing distributions with the same name and version.
# This is *only for CI use* and is *extremely dangerous* otherwise!
# https://github.com/pypa/gh-action-pypi-publish#tolerating-release-package-file-duplicates
skip-existing: true
pre-release-checks:
needs:
- build