From 8b3f4f914f91d9df655ac12155c371ebc1f3d617 Mon Sep 17 00:00:00 2001 From: Dongbumlee Date: Wed, 15 Apr 2026 14:07:51 -0700 Subject: [PATCH] fix: add skip-existing to PyPI publish to prevent re-upload failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The publish-pypi step in release.yml fails with '400 File already exists' when a release workflow is re-triggered after a successful PyPI upload. This has blocked both v0.1.6 and v0.1.7 releases. Adding skip-existing: true makes the step idempotent — it succeeds silently when the exact same wheel is already on PyPI, while still rejecting uploads with different content for the same version. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6024c71..d6e27b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -160,6 +160,7 @@ jobs: with: verbose: true skip-existing: true + skip-existing: true # ── VSIX Stable Publish ────────────────────────────────────────────── # Publish the VS Code extension as a stable release to the Marketplace.