The February release got a little late… better later than even later, I guess! 😄

goreleaser healthcheck

goreleaser healthcheck

It is packed with some juicy features and tons of bug fixes and quality-of-life improvements.

Let’s take a look:

Highlights

  • On GoReleaser Pro you can now add dividers between groups in the changelog. Documentation.
  • GoReleaser Pro also gets a new template variable: {{ .Artifacts }}, which you can iterate over to build, for instance, custom scripts. Oh, how can you build custom scripts? I’m glad you asked! Documentation.
  • Concluding our Pro-exclusive feature-set for this release: template files! You can template entire files, and they’ll get added to the release! Documentation.
  • All GoReleaser distributions get a new subcommand: healthcheck. Documentation.
  • The single build statement has been undocumented for many years, and has been deprecated.
  • You can now announce to OpenCollective. Documentation.
  • Templating updates: nfpms get {{ .ConventionalExtension }}, new templateable fields, base (as in filepath.Base) template function, and more.
  • When running on a new project, with no project_name set, and no git remotes, GoReleaser will now try to infer the project name from the go.mod file instead of erroring.
  • GoReleaser is now built with Go 1.20.
  • As always, a lot of bug fixes, dependency updates and improvements!

You can install the same way you always do, and you can see the full release notes here and here (for Pro).

Other news

  • We have a whole lot of example repositories, including Zig, GoReleaser-Cross, GoReleaser Pro features, and more. Check it out!
  • GoReleaser now has ~11.3k stars and 327 contributors! Thanks, everyone!
  • We eventually discuss new features in our Discord server.  Join the conversation!
  • nFPM had new releases as well,  check it out.

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