Assembling a .goreleaser.yaml File: Standards and Best Practices
Over time, I’ve created numerous .goreleaser.yaml files for various projects. While a lot of them are out of date and inconsistent, reviewing them has helped me formulate a standard set of practices for assembling a GoReleaser configuration file.
This post outlines these standards to help maintain consistency, maximize distribution, and simplify CI processes across projects.
General Principles Naming Packages I believe that the defaults should work for file and package naming, so I avoid using _template for naming (such as renaming things) unless it is strictly required to prevent a name conflict.