Skip to content

Commit

Permalink
Overwrite existing distributions when uploading to test PyPI. (langch…
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi authored and xieqihui committed Nov 21, 2023
1 parent 0becf5f commit 265276c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 265276c

Please sign in to comment.