release-assets: attach iroh_endpoint.wasm + SHA256SUMS to releases - #94
Merged
Conversation
Downstream native hosts compose the endpoint component with wac and until now had no artifact to pin: they cloned this repo and built from source. Attach the release build (the same recipe jsr-publish.yml embeds into @polymorph/iroh, at the release's tag, on the pinned toolchain) with its sha256, polyengine-release style. Fires on release publish; workflow_dispatch(tag) backfills releases cut before this existed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Downstream native hosts compose the endpoint component with
wac plugand until now had no artifact to pin: they cloned this repo and built from source (wosh'sscripts/setup.shis the motivating consumer). This attaches the release build to the GitHub release — the same consumer story polyengine's releases give the translator shim and embedder bundle.release: published, plusworkflow_dispatch(tag)to backfill releases cut before this workflow existed (v0.5.0 is the immediate backfill target).cargo build -p iroh-endpoint --target wasm32-wasip2 --releaseat the release's own tag, on the rust-toolchain.toml pin.iroh_endpoint.wasm+SHA256SUMS;--clobberso re-runs converge instead of failing on the existing asset.After merge I'll dispatch the backfill for v0.5.0 and point wosh's setup at the digest-pinned artifact, dropping its source checkout of this repo entirely.