You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Releases ship with zero assets - GitHub's Immutable Releases locks them before the build finishes #18
Once a published release exists with this setting on, assets can never be added/changed/removed (docs). Our pipeline has release-please publish the release immediately, then spends ~10 minutes cross-compiling Burrito targets before `gh release upload` runs - by then the release is already locked, and the upload 422s (`Cannot upload assets to an immutable release`).
Fix (the documented workaround): create the release as a draft, upload every asset while still a draft, then publish it.
`burrito-release.yaml`: publish (`gh release edit --draft=false`) as the final step, after binaries + `SHA256SUMS` upload succeeds
Bonus fix this gets for free: previously a half-built release was visible/"latest" with zero assets for the whole ~10-minute build window even without the immutability bug - drafts aren't visible until published, so that window disappears too.
`v0.2.0` itself can't be repaired - a genuinely new release is needed after this lands to get real, installable assets (relevant for CRY-37, the Homebrew tap, which needs real assets to pin a sha256 against).
Activity
fix(ci): create releases as drafts so assets survive Immutable Releas…
fix(ci): rebuild the release pipeline to stop the version-bump runawa…
feat(ci): add a full SBOM - app deps, OTP/Elixir runtime, container O…