fix(release): brew token via .Env; version wording - #18
Merged
Merged
Conversation
….18 template function); version wording
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.
Summary
v26.09.1run published the release (20 assets, cosign bundle) and the GHCR image, then failed at the Homebrew step:envOrDefaultis not a template function in GoReleaser 2.18.1 (the token template is only evaluated at publish time, so no snapshot could catch it). The token is now{{ .Env.HOMEBREW_TAP_TOKEN }}; release.yml already refuses to start unless the variable is set and can read the tap.arcli --versioncarry26.09.1verbatim; only the deb / rpm / Arch packagers normalise their version field to26.9.1.Test plan
cosign verify-blob(cosign v3.1.3) "Verified OK" on aapplication/vnd.dev.sigstore.bundle.v0.3+jsonbundle, anonymousdocker pull ghcr.io/basekick-labs/arcli:26.09.1works, darwin archive runsv26.09.1on the merged commit; the rerun replaces assets, re-pushes images, re-signs, and pushesFormula/arcli.rbto the tap