Repository navigation
Commit 0100cc0
ci: guard the PyPI publish against a duplicate version
PyPI does not allow reusing a version number, so a publish of a version that is
already on the index fails at the index and a bad artifact cannot be replaced.
The check now happens before the upload, alongside a twine check of the built
artifacts.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019d5ks2kCa4eXD1ftdkECPu1 parent 32bf8bd commit 0100cc0
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
39 | 48 | | |
40 | 49 | | |
0 commit comments