[36.0.x] Use github immutable releases#11916
Merged
alexcrichton merged 2 commits intobytecodealliance:release-36.0.0from Oct 22, 2025
Merged
[36.0.x] Use github immutable releases#11916alexcrichton merged 2 commits intobytecodealliance:release-36.0.0from
alexcrichton merged 2 commits intobytecodealliance:release-36.0.0from
Conversation
[Immutable Releases] look to be a relatively new feature on github which is a natural fit for us where we have no need to modify release assets after creation. My failed attempt to enable this earlier turned out to, expectedly, not work. This commit is an attempt to make things work. Specifically releases are now created as a draft initially, then release assets are attached, and finally it's automatically marked as a non-draft. While one could make a reasonable argument that a human should be involved in making the release a non-draft there's also something nice about just hitting merge on a PR and letting the release ride through CI. [Immutable Releases]: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/immutable-releases
This is an attempt to fix a bug with bytecodealliance#11901 where for 38.0.2 a draft release was made but it wasn't published due to a bug, so hopefully it'll be less buggy next time.
fitzgen approved these changes Oct 22, 2025
f554fa9 into bytecodealliance:release-36.0.0 167 checks passed
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.
Backport of #11902 and #11906 to the 36.0.x branch.