Open-source project
goreleaser/goreleaser avatar
goreleaser/goreleaser

GoReleaser: release engineering turned into a single binary

Release engineering, simplified

16,152 stars1,178 forksGoMIT

At a glance

What is it?
Sixteen thousand stars, a nightly release train, and a dependency list that reads like a catalogue of every forge and registry a Go project might need.
Who is it for?
GoReleaser is a good fit when a project ships binaries and its release process is currently a YAML file nobody wants to maintain, and a poor fit if you need it to be a platform rather than a tool. The dependency list shows exactly how wide it has grown, with SDKs for GitHub, Gitea, Docker registries, AWS, four social networks (Mastodon, Reddit, X and Bluesky) and a Microsoft Teams notifier, which is breadth rather than depth.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 2 days ago.
What is it written in?
Mainly Go, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • goreleaser/goreleaser16,152 ★ · +60
Star history
Repository2026-10-072026-11-22
goreleaser/goreleaser16.1k16.2k

60 Stars in the last 46 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

A README that advertises rather than explains

The GoReleaser README is short, and it is short on purpose. The project describes itself as release engineering, simplified, and then says it handles the complexities of releasing so you can focus on building what matters: your software. That is the entire pitch, and the rest of the page is navigation.

There are two paths out of the README, one for a developer machine and one for CI/CD, both pointing at goreleaser.com. Documentation is hosted live at the same address. There is no configuration example, no command walkthrough and no sample `.goreleaser.yaml` in the README itself.

GoReleaser itself is written in Go.

The metadata gives the scale: 16132 stars, 1134 forks, 16 open issues and an MIT licence. Sixteen open issues against sixteen thousand stars is an unusually low ratio, and it is easier to understand once you see that GoReleaser releases itself.

The last push was 2026-11-02.

The dependency list is a map of every release destination

go.mod is where this project is actually described. The module path is github.com/goreleaser/goreleaser/v2 and it targets Go 1.27.3. What follows is a dependency set that covers almost every place a release can land:

go
module github.com/goreleaser/goreleaser/v2

go 1.27.3

For forges and hosting there is code.gitea.io/sdk/gitea, github.com/google/go-github/v93 and the distribution registry reference library, github.com/distribution/distribution/v3. For containers there is github.com/google/go-containerregistry, github.com/google/ko and a set of registry credential helpers, including the Amazon ECR helper and a docker-credential-acr-env helper for Azure. For cloud storage there is the AWS SDK v2 with its S3 service and transfer manager.

Then it widens in a direction that is worth pausing on. github.com/mattn/go-mastodon, github.com/caarlos0/go-reddit/v3, github.com/dghubble/go-twitter and github.com/bluesky-social/indigo are social network clients, and github.com/atc0005/go-teams-notify/v2 is a Microsoft Teams notifier. A release tool that can post to Mastodon, Reddit, X and Bluesky is a release tool that treats announcement as part of the release rather than as something you do afterward.

Configuration handling is equally visible: github.com/BurntSushi/toml, dario.cat/mergo, github.com/caarlos0/env/v11 for environment variables and github.com/invopop/jsonschema. That last one is the detail I would point a reader at, since generating a JSON schema from the configuration struct is how a project ships editor autocomplete for its own config file.

Packaging and compression are handled by github.com/goreleaser/nfpm/v2, github.com/klauspost/compress and github.com/klauspost/pgzip, and blakesmith/ar is the archive format writer. The terminal presentation comes from charm.land/lipgloss/v2 with charmbracelet/fang as the CLI entry point, which is why GoReleaser's output looks unlike most Go tools.

Nightly tags with commit hashes in the name

The three most recent releases in this repository are all nightly builds, and the tag format is the interesting part. They are named v2.20.0-81042d32-nightly, v2.20.0-3d5c3a2e-nightly and v2.20.0-538a99ed-nightly, published 2026-11-03, 2026-11-02 and 2026-10-30 respectively.

So the upstream version being worked towards is 2.20.0, and each nightly appends a short commit hash. That is a useful convention for a tool you might install on a developer machine, because it tells you exactly what you have, and it means a nightly channel exists at all.

The `www/` directory at the root is consistent with a documentation site living in-tree.

GoReleaser releases GoReleaser, with pinned digests

The badge row includes a Powered By GoReleaser badge, so the project runs its own tool on itself, and the repository has a `.goreleaser.yaml` at its root. That is the fastest way to see a working configuration that produces something real.

The Dockerfile is a different kind of document, because it shows how many external binaries a release needs. Rather than downloading tools at build time, it copies each one from a pinned upstream image by digest:

bash
FROM anchore/syft:v1.55.0@sha256:4cc92b64ca74ffca4c94d4c8fcc01f217731375300be14d0b6eeb2e82eaa110a AS syft
FROM gcr.io/projectsigstore/cosign:v3.1.4@sha256:0f06154836d2de34f887a5c273506d52ca43edaa1d9e53e6510fa78a48f69c2d AS cosign
FROM docker:29.5.3-cli-alpine3.23@sha256:873de13208aab9c1de73fe984fd45883e01464fcfcc85efa20aa56a9ccfe7aa6 AS docker
FROM docker/buildx-bin:v0.38@sha256:8701a4994fb475672faddca19708b10d8d7d545d19dc6fc662811c6e234efe65 AS buildx

A comment above those lines explains the reasoning: pulling syft, cosign, docker and buildx from their upstream images means the project controls the dependency versions. The base image is golang:1.27.3-alpine, also pinned by digest.

The toolchain list is the real content of that image: bash, build-base, curl, git, git-lfs, gpg, gpg-agent, mercurial, make, openssh-client, tini and upx. Mercurial is there for old repositories, git-lfs for repositories that need it, gpg for signing, and upx for executable compression.

Signing and SBOM generation are the reason syft and cosign are there. cosign is the image signing tool, and syft is the SBOM generator, so GoReleaser's release output can be signed and accompanied by a software bill of materials. It installs its own goreleaser apk package into the image. Entry point is tini as PID 1, which matters in a container running child processes.

If you are evaluating whether this tool does provenance properly, those two copied binaries are the answer.

Process files that describe how a release tool is maintained

The repository root is unusually honest about process. Beyond the usual LICENSE.md and CONTRIBUTING.md, there is SECURITY.md, THREAT_MODEL.md, INCIDENT_RESPONSE.md, an EULA.md and a USERS.md.

A threat model written by a release automation tool is a good sign, because the tool's job is to hold credentials for package registries, cloud accounts and signing keys. THREAT_MODEL.md is where that risk is written down rather than assumed away, and INCIDENT_RESPONSE.md says what happens if something goes wrong after a release goes out, which is the failure mode no amount of testing catches.

USERS.md is a different kind of file. It is a list of who uses the tool, which in a release tool's case is closer to a compatibility contract than a marketing page.

The tooling configuration around those files is equally specific. `.golangci.yaml` runs the Go linter, `.grype.yaml` configures vulnerability scanning, `.gitleaksignore` suppresses known false positives from secret scanning, and there is a `.svu.yml`. Taskfile.yml means tasks are run through Task rather than a Makefile, and there is a `.copilot/` directory at the root.

On the community side, the README points at GitHub Discussions as the main venue, with an X account and a Telegram channel for announcements, and it adopts the Contributor Covenant code of conduct. Funding runs through GitHub Sponsors at caarlos0 and OpenCollective, and the sponsor tiers are listed in the README, with SerpApi at diamond and Mercedes-Benz Group at gold.

The badges corroborate the claims. There is a Codecov badge, a GoReportCard badge, an Artifact Hub badge for the published chart, and a CII Best Practices badge linking to the OpenSSF best practices entry. A Conventional Commits badge sits alongside them.

Where the README stops and the documentation begins

Almost immediately. The README gives you the project identity, two links to installation paths, a documentation link, and a set of badges. Everything you need in order to configure a release lives at goreleaser.com, and the repository's contribution is the source code plus the self-hosted configuration.

That is a legitimate division for a tool this size, and it has one practical consequence: you cannot evaluate GoReleaser from this repository alone. The question that matters, what a `.goreleaser.yaml` has to contain, is only answerable by reading the documentation site, which is generated from the `www/` directory in the same tree.

What the repository does answer well is scope. The dependency list tells you which systems GoReleaser integrates with, the Dockerfile tells you which external tools it depends on and how carefully those are pinned, and the presence of syft and cosign tells you that supply chain artefacts are part of the toolchain the release image carries. The THREAT_MODEL.md and INCIDENT_RESPONSE.md files tell you the maintainers think about the release itself as a security surface.

So the sensible evaluation path is short. Clone it, read `.goreleaser.yaml` to see what a maintained project actually configures, skim `internal/` and `pkg/` to see how the pipeline is factored, then read the configuration reference on the website before writing your own. The command reference is the one page worth having open while you do that.

One caveat to carry along: the published tags are nightly builds with hashes in their names rather than clean version tags, so if you install GoReleaser itself, pin an explicit version in your CI workflow rather than tracking a moving channel.

Editorial conclusion

GoReleaser is a good fit when a project ships binaries and its release process is currently a YAML file nobody wants to maintain, and a poor fit if you need it to be a platform rather than a tool. The dependency list shows exactly how wide it has grown, with SDKs for GitHub, Gitea, Docker registries, AWS, four social networks (Mastodon, Reddit, X and Bluesky) and a Microsoft Teams notifier, which is breadth rather than depth. What the repository does not include is the configuration reference: a `.goreleaser.yaml` exists in the tree and the docs live at goreleaser.com, so budget time there. The published versions are nightly builds with commit hashes in the tag, the latest one 2026-11-03, so treat `goreleaser` as moving software and pin your own version in CI.

Frequently asked questions

How do I install goreleaser?

The README splits installation into two paths and sends both to the documentation site: one for your own machine and one for CI/CD systems. The repository does not spell out the commands itself. If you want the shape of the binary first, the Dockerfile in the tree shows it installs its own apk package into an alpine image and runs under tini.

Does GoReleaser only work with Go projects?

GoReleaser is written in Go. The README does not list which languages it can release; that is covered in the documentation at goreleaser.com.

Where does GoReleaser publish releases to?

The dependency list in go.mod is the clearest answer. It pulls in GitHub and Gitea SDKs, go-containerregistry and ko for container registries, the AWS SDK with S3 and its transfer manager for object storage, and distribution for registry operations. It can also notify Microsoft Teams and post announcements to Mastodon, Reddit, X and Bluesky.

Does GoReleaser sign releases and generate SBOMs?

The Dockerfile copies syft and cosign out of pinned upstream images so the project controls those versions, which means software bill of materials generation and image signing are part of the toolchain it builds with. gpg and gpg-agent are installed in the same image for signing, and upx is present for executable compression.

How do I get editor completion for the goreleaser config file?

The module depends on invopop/jsonschema, which is the library used to generate a JSON schema from a Go type. The repository root holds a .goreleaser.yaml, and the www/ directory indicates the documentation site is generated in-tree.

Official sources

  1. goreleaser/goreleaser on GitHub
  2. License: MIT
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/goreleaser-goreleaser.svg)](https://hysenlabs.com/projects/goreleaser-goreleaser)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/goreleaser-goreleaser.svg)](https://hysenlabs.com/projects/goreleaser-goreleaser)

Was this useful?