Skip to content

Commit ec0890c

Browse files
SAKMZclaude
andcommitted
Skip already-published versions in publish workflow
Add skip-existing so re-running the release workflow for a version that is already on PyPI is a no-op instead of an error. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent ea9f89b commit ec0890c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ jobs:
4242
path: dist/
4343
- name: Publish to PyPI
4444
uses: pypa/gh-action-pypi-publish@release/v1
45+
with:
46+
skip-existing: true

0 commit comments

Comments
 (0)