Conversation
nwt
approved these changes
Sep 30, 2025
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.
What's Changing
This updates our GoReleaser config to their "v2" syntax. It also points our Release workflow at a newer Action that defaults to GoReleaser v2.
Why
I went to do some local tasks with my Homebrew-installed
goreleaserand found it refused to work off the.goreleaser.yamlat current tip-of-mainbecause it's not in "v2" format.Details
I tested this all out using a personal fork of the super repo by tagging a release version. You can see/download the artifacts at https://github.com/philrz/super/releases and the updated Homebrew Tap at https://github.com/philrz/homebrew-tap.
Note how GoReleaser now creates a Homebrew "Cask" rather than the "Formula" it did in the past. I had to give myself a crash course on this but the tl;dr is that it does seem the Cask concept is a better match for our approach of installing a precompiled binary rather than compiling from source. In line with Homebrew conventions this means when we do a GA release the
super.rbwill land below aCasks/directory in our homebrew-tap repo. This all worked fine in my test by doingbrew install philrz/tap/superon a scratch host.