GoReleaser 1.5 is out, with a handful of miscellaneous improvements.


  • Better manpages using mango;
  • Migrated from cobra to coral — which will eventually lead to faster go install;
  • Improved nFPM to make it easier for GoReleaser’s debs and GoReleaser-generated debs that pass lintian checks;
  • Several improvements on GoReleaser output logs;
  • More fields are now templateable, namely on nFPMs and Universal Binaries configs;
  • Hooks now have an option to always print their outputs;
  • goreleaser build --single-target now copies the binary to CWD, also accepts a -output flag telling to copy the binary elsewhere;
  • Changelog passing through goreleaser release --release-notes now warns if the file is empty or whitespace-only, allowing to more easily debug releases;
  • You can now override build tagsldflagsgcflags and asmflags per target platform;
  • On a similar note, you can get the runtime GOOS and GOARCH on template variables using {{ .Runtime.Goos }} and {{ .Runtime.Goarch }}.

You can see the full changelog here.

Other news

  • We still don’t have a new date for our first community call. Personal life a little too busy lately, will try my best to schedule it ASAP. Link.
  • GoReleaser now has ~9.6k stars and 264 contributors! Thanks, everyone!
  • Our Discord server is getting new members almost daily. Join and chat with us!
  • nFPM also had a couple of releases the last few weeks, check them out.

This is a cross-post from GoReleaser’s blog!