cli icon indicating copy to clipboard operation
cli copied to clipboard

Add GoReleaser with Homebrew/Snap releases

Open HeavyWombat opened this issue 3 years ago • 4 comments

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.

HeavyWombat avatar Jun 17 '21 09:06 HeavyWombat

Proposal has been merged, next step is to implement this feature!

adambkaplan avatar Aug 25 '21 13:08 adambkaplan

Bonus - GoReleaser now supports cosign, so we can generate signed binaries.

https://carlosbecker.com/posts/goreleaser-cosign/

adambkaplan avatar Aug 25 '21 13:08 adambkaplan

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

akram avatar Sep 28 '21 10:09 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).

adambkaplan avatar Mar 23 '22 13:03 adambkaplan