Repository navigation
Publish releases with GoReleaser on version tags - #4
Merged
Merged
Conversation
- Pushing a v* tag runs vet and the race tests, then GoReleaser builds agent-browser-mcp for macOS, Linux and Windows (amd64 and arm64) and publishes the archives, checksums and a grouped changelog. - CI runs gofmt, vet, the race tests and a snapshot release build on every pull request and push to main. - The version comes from the tag (-X main.version), or from the module version Go stamps into the binary, instead of a hard-coded 2.0.0. - The README offers the release download before building from source, and says how to cut a release.
akash-aman
force-pushed
the
ci/releases
branch
from
October 11, 2026 03:40
824dc28 to
0becd6d
Compare
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v*tag runs vet and the race tests, then GoReleaser buildsagent-browser-mcpfor macOS, Linux and Windows (amd64 and arm64) and publishes the archives (about 4 MB each, with README and LICENSE),checksums.txtand a changelog grouped by feature and fix. Tags likev2.1.0-rc1become pre-releases.-X main.version);go installandgo buildreport the module version Go stamps into the binary, instead of a hard-coded2.0.0.v2.0.0was already pushed at1dc2341, which has no workflow, so nothing ran. After this merges, move it to the merge commit to publish 2.0.0.Test plan
goreleaser checkandgoreleaser release --snapshot --clean(v2.18.3): six archives built; the darwin/arm64 binary starts and reports the snapshot versionactionlinton both workflows: no errorsgofmt -l,go vet ./...,go vet -tags integration ./...,go test -race ./...on macOS