Skip to content

Make release publishing safe to rerun - #3

Merged
SaiSandeepKantareddy merged 1 commit into
mainfrom
fix/publish-reruns
Nov 24, 2026
Merged

SaiSandeepKantareddy merged 1 commit into
mainfrom
fix/publish-reruns

Conversation

@SaiSandeepKantareddy

Copy link
Copy Markdown
Contributor

Re-pushing a release tag failed the publish workflow with 400 File already exists from PyPI, even though the packages were already published correctly.

  • skip-existing: true for the PyPI upload
  • update the GitHub release when it already exists (re-upload assets with --clobber)
  • release notes come from the matching CHANGELOG.md section instead of auto-generated notes
  • upload-artifact/download-artifact v5 (Node 24)

Checked with actionlint; the changelog extraction was tested locally for 0.2.0, 0.2.1, and a missing version.

Skip files PyPI already has, update an existing GitHub release instead of
failing, and write release notes from CHANGELOG.md. Move artifact actions
to Node 24 versions.
@SaiSandeepKantareddy
SaiSandeepKantareddy merged commit 4a5ff5f into main Nov 24, 2026
4 checks passed
@SaiSandeepKantareddy
SaiSandeepKantareddy deleted the fix/publish-reruns branch November 24, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant