GoReleaser 2.0
This overview applies to target GoReleaser versions of at least 2.0.
- Version 2 removes options deprecated during the v1 series; migration starts with a clean
goreleaser checkon the latest v1, followed by another check using v2. - Version 2 configurations carry the top-level
version: 2schema header. This header selects the configuration schema, not the binary version. - The supported clean snapshot workflow is
goreleaser release --snapshot --clean; legacy--rm-dist, individual--skip-*, and--debugusages need migration to their v2 replacements reported by the v1 deprecation warnings. - GitHub Actions workflows can select the v2 line with
goreleaser/goreleaser-action@v6andversion: "~> v2". - Existing capabilities retained from late v1 include SBOM creation, keyless Cosign signing, AUR, Chocolatey, Ko, NUR, Winget, DMG and MSI packaging, and macOS signing and notarisation.
- Pro-only capabilities include templated files, cross-SCM package publishing, changelog sub-grouping, and split-and-merge release workflows.