After releasing to GitHub or GitLab, GoReleaser can generate and publish a homebrew-tap recipe into a repository that you have access to.
The
brews
section specifies how the formula should be created. You can check the Homebrew documentation and the formula cookbook for more details.Homebrew has made extensive use of GitHub to expand the support of several packages through user contributions. In 2010, Homebrew was the third-most-forked repository on GitHub. In 2012, Homebrew had the largest number of new contributors on GitHub. GitHub Gist: instantly share code, notes, and snippets.
Warning
If you have multiple 32-bit arm versions in each
build
section, and you do not specify any ids
in the brew section, it will default to all artifacts and GoReleaser will fail. Knives out recenzija.Tip
Learn more about the name template engine.
By defining the
brew
section, GoReleaser will take care of publishing the Homebrew tap. Assuming that the current tag is v1.2.3
, the above configuration will generate a program.rb
formula in the Formula
folder of user/homebrew-tap
repository:Github Brewpiless
Info
Note that GoReleaser does not generate a valid homebrew-core formula. The generated formulas are meant to be published as homebrew taps, and in their current form will not be accepted in any of the official homebrew repositories.
Head Formulas¶
Transaxle gearbox definition. GoReleaser does not generate
head
formulas for you, as it may be very different from one software to another.Github Brew Install
Our suggestion is to create a
my-app-head.rb
file on your tap following homebrew's documentation.