Skip to content

fix(release): upload standalone assets before publishing the release - #145

Merged
harlan-zw merged 1 commit into
mainfrom
fix/release-draft-assets
Sep 16, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
fix/release-draft-assets

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

❓ Type of change

  • 🐞 Bug fix

📚 Description

v3.0.2 stopped at the asset upload:

HTTP 422: Cannot upload assets to an immutable release.

This repository has immutable releases on, which is what we want for signed binaries: nobody can swap an asset later. But changelogithub published the release before the upload step ran. The release is now created as a draft, gets every asset, and is published last, after npm. A rerun reuses the draft and refuses a release that is already published.

v3.0.2 is locked with no assets and was never published to npm, so the next tag is v3.0.3.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

The repository uses immutable releases, which reject assets once published. v3.0.2 published through changelogithub first, so its asset upload failed with HTTP 422 and npm never published.
@harlan-zw
harlan-zw merged commit 0f577b4 into main Sep 16, 2026
2 checks passed
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