Skip to content

ci(release): adopt goreleaser for releases and Homebrew tap#75

Merged
parfenovvs merged 2 commits into
trunkfrom
ci/add-brew-release-with-goreleaser
Jun 3, 2026
Merged

ci(release): adopt goreleaser for releases and Homebrew tap#75
parfenovvs merged 2 commits into
trunkfrom
ci/add-brew-release-with-goreleaser

Conversation

@parfenovvs

Copy link
Copy Markdown
Collaborator

Replace the manual workflow_dispatch release flow with a tag-triggered GoReleaser pipeline that builds the Linux amd64/arm64/386 archives, publishes a GitHub Release, and updates the Homebrew formula in malwarebytes/homebrew-tap.

  • Add .goreleaser.yaml (Linux-only builds, Apache-2.0 brew formula)
  • Replace .github/workflows/release.yml with tag-triggered goreleaser
  • Refactor pkg/config: single Version var injected via -ldflags, replacing the VersionMajor/Minor/Patch constants
  • Update cmd/version and tests for the new Version variable
  • Add release-snapshot Task for local dry-runs
  • Document Homebrew install in README

Replace the manual workflow_dispatch release flow with a tag-triggered
GoReleaser pipeline that builds the Linux amd64/arm64/386 archives,
publishes a GitHub Release, and updates the Homebrew formula in
malwarebytes/homebrew-tap.

- Add .goreleaser.yaml (Linux-only builds, Apache-2.0 brew formula)
- Replace .github/workflows/release.yml with tag-triggered goreleaser
- Refactor pkg/config: single Version var injected via -ldflags,
  replacing the VersionMajor/Minor/Patch constants
- Update cmd/version and tests for the new Version variable
- Add release-snapshot Task for local dry-runs
- Document Homebrew install in README
Comment thread .github/workflows/release.yml Fixed
@parfenovvs parfenovvs requested a review from jboursier-mwb June 3, 2026 07:54
@parfenovvs parfenovvs marked this pull request as ready for review June 3, 2026 07:55
Signed-off-by: jboursier-mwb <jboursier@malwarebytes.com>
@parfenovvs parfenovvs merged commit 2775275 into trunk Jun 3, 2026
7 of 8 checks passed
@parfenovvs parfenovvs deleted the ci/add-brew-release-with-goreleaser branch June 3, 2026 17:35
@parfenovvs parfenovvs linked an issue Jun 17, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add goreleaser with homebrew

3 participants