Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add homebrew release to goreleaser #164

Merged
merged 3 commits into from
Jan 12, 2022

Conversation

crayzeigh
Copy link
Contributor

Resolves #38 by adding a brews: section to goreleaser.yml to generate the updated homebrew formula with each release run.

Tested this locally by publishing to crayzeigh/homebrew-tap using my fork and a fake 0.7.1 release. After running goreleaser release I could tap and install via homebrew successfully shown here:

install via homebrew

As written, the homebrew formula will be committed back to equinix/homebrew-tap by me. We can adjust either or both the tap or the commit author (default is goreleaserbot ([email protected])).

I think if this works as the main method of release, the next step would be to get the formula accepted into homebrew-core and figure out the best way to maintain that on each metal-cli release

@jeremytanner
Copy link
Contributor

Nice. Time to brew!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Install via brew?
2 participants