Skip to content

Commit c931269

Browse files
jensensclaude
andcommitted
Allow Test PyPI publish to skip existing versions
On pushes to main the version may not have been bumped, so the upload would fail with 400. Use skip-existing to handle this gracefully. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 19218f6 commit c931269

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ jobs:
120120
uses: pypa/gh-action-pypi-publish@release/v1
121121
with:
122122
repository-url: https://test.pypi.org/legacy/
123+
skip-existing: true
123124

124125
# Upload to real PyPI on GitHub Release
125126
release-pypi:

0 commit comments

Comments
 (0)