cli
cli copied to clipboard
Add GoReleaser with Homebrew/Snap releases
Like @otaviof brought it up in a PR comment, I can highly recommend introducing GoReleaser. It covers the whole Go build nicely (including build parameters, reproducible builds), supports cross platform builds, and most importantly automation for release changelogs and releasing itself into for example Homebrew (for the macOS users) and Snap.
I have done it for dyff
and it is really great. The configuration is pretty straight forward and I can certainly help with this issue having it done for other projects already. Works pretty well in GitHub Actions, too.
Proposal has been merged, next step is to implement this feature!
Bonus - GoReleaser now supports cosign, so we can generate signed binaries.
https://carlosbecker.com/posts/goreleaser-cosign/
I started on it. As I am discovering goreleaser
I will let you know if I am facing issues.
I have a PR cooking and I will submit that in WIP in the next hours.
/assign akram
Current status - we are using GoReleaser to create the binaries. The next step is to integrate with HomeBrew and the Snap Store (this should be done separately).