GoReleaser
$ goreleaser Community Med RiskBuilds, archives, signs, and publishes binaries, Docker images, and package-manager manifests for Go and polyglot projects. Provides goreleaser check and --snapshot so agents can verify release pipelines locally without publishing.
brew install goreleaser Invokes local compilers, archivers, and checksum/signing tools; a native CLI workflow is strictly required.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Completely headless CLI with check, --snapshot, and clean exit codes, though build logs are structured text rather than JSON.
goreleaser checkand--snapshotrun non-interactively- Clear error messages on deprecated config fields
--snapshot and --skip=publish provide strong local verification without touching remote releases or registries.
--snapshotdisables publishing and Git tag checks- Reads tokens strictly from explicit env vars
Single static Go binary available via Homebrew, go install, Docker, and GitHub Releases.
- Cross-platform single binary on macOS, Linux, and Windows
Automates cross-compilation, checksums, Homebrew taps, and Docker manifests in one declarative YAML file.
- Replaces fragile custom release shell scripts
Mature MIT-licensed OSS project with dedicated maintainers and wide Go ecosystem adoption.
- Active
goreleaser/goreleaserv2 releases
Comprehensive documentation at goreleaser.com with clear CLI flags and deprecation guides.
- Official docs cover every YAML key and CLI flag
Security, Auth & Guardrails
Reads release publishing tokens from environment variables (GITHUB_TOKEN, GITLAB_TOKEN, GITEA_TOKEN) or optional ~/.config/goreleaser/ token files.
OSS edition is MIT open-source and free; GoReleaser Pro offers paid commercial features.
# GoReleaser Agent Rules - Always run `goreleaser check` and `goreleaser release --snapshot --clean` before any tagged release. - Never run `goreleaser release` without `--snapshot` unless explicitly authorized to publish artifacts.
Agent-Ready Command Recipes
Safe Read-Only Queries
goreleaser check
Validates release configuration syntax and deprecations without building or publishing.
Controlled Writes & Previews
goreleaser release --snapshot --clean
Builds all target binaries and archives into dist/ while automatically skipping remote publish steps.
Strengths for Agents
- +
goreleaser release --snapshot --cleangives an exact local rehearsal of release artifacts without publishing. - +
goreleaser checkcatches schema and deprecation issues quickly. - + Single static binary with zero runtime dependencies.
Caveats & Pitfalls
- ! Release logs are human-readable text rather than JSON.
- ! Running
goreleaser releasewithout--snapshotin an environment withGITHUB_TOKENpublishes live artifacts.