GoReleaser v2 + GitHub Actions: Go Release Guide
The goal of GoReleaser is to automate much of the tedious work when releasing software, by using sensible defaults and making it simple for the most common use cases. For a GitHub Actions release, start with the GoReleaser workflow : it runs on a pushed tag and gives the job contents: write. The example passes GITHUB_TOKEN to the upstream goreleaser/goreleaser-action. To check the build and packaging locally before publishing, follow the snapshot steps ; this does not publish a release. ...