Repository navigation
fix(release): GoReleaser templates without the Pro-only isEnvSet - #121
Merged
Merged
Conversation
With HOMEBREW_TAP_TOKEN set, the formula step applied isEnvSet, which the open-source GoReleaser lacks, and the 1.3.0 release stopped before images, chart and formulas. index .Env gives the same answers (checked with v2.19.0 for a set, empty and unset variable).
|
The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).
|
This was referenced Oct 24, 2026
Merged
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.
The v1.3.0 release failed in GoReleaser's Homebrew step:
function "isEnvSet" not defined.isEnvSetis a GoReleaser Pro template function. It went unnoticed in 1.2.0 becauseHOMEBREW_TAP_TOKENwas unset and the upload was skipped; with the secret set, the token template is applied and fails. The 1.3.0 GitHub release with its binaries went out, but the images, the chart and the formulas did not.token,skip_uploadand notarizeenablednow useindex .Env "…". Checked with GoReleaser v2.19.0 (the version CI uses) for a set, an empty and an unset variable;goreleaser checkpasses apart from the existingbrewsdeprecation.v1.3.0is not re-tagged: the Go module proxy may already hold it.