Skip to content

jsr-publish: attach the component assets to the release it creates - #101

Merged
lannbot merged 1 commit into
mainfrom
jsr-publish-assets
Aug 24, 2026
Merged

jsr-publish: attach the component assets to the release it creates#101
lannbot merged 1 commit into
mainfrom
jsr-publish-assets

Conversation

@lannbot

@lannbot lannbot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Fixes the gap observed cutting v0.5.1 (and retroactively v0.5.0): jsr-publish creates the release with the workflow's own github.token, and token-created releases emit no release: published event — so release-assets.yml never fires for them and every publish needed a manual backfill dispatch.

jsr-publish now uploads iroh_endpoint.wasm + SHA256SUMS itself, right after gh release create, from the same in-run build it embeds into the published package — the release asset and the JSR-embedded component become byte-identical by construction. release-assets.yml remains for backfill (workflow_dispatch with a tag) and for human-published releases (where the event does fire); both workflow headers state the split.

Gates: YAML validity checked; the real gate is the next publish dispatch.

Automerge is armed.

A release created with the workflow's own github.token emits no
`release: published` event, so release-assets.yml never fires for the
releases jsr-publish creates — v0.5.0 and v0.5.1 both needed a manual
backfill dispatch. jsr-publish now uploads iroh_endpoint.wasm +
SHA256SUMS itself, from the same in-run build it embeds into the
published package, so the release asset and the JSR-embedded component
are byte-identical by construction. release-assets.yml stays for
backfill dispatch and human-published releases; both headers state the
split.
@lannbot
lannbot enabled auto-merge August 24, 2026 00:50
@lannbot
lannbot merged commit d72c5f2 into main Aug 24, 2026
1 check passed
@lannbot
lannbot deleted the jsr-publish-assets branch August 24, 2026 00:55
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.

2 participants