Skip to content

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

Draft
parfenovvs wants to merge 1 commit into
trunkfrom
ci/add-brew-release-with-goreleaser
Draft

ci(release): adopt goreleaser for releases and Homebrew tap#75
parfenovvs wants to merge 1 commit 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
- name: Setup Go
uses: actions/setup-go@v6
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
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.

2 participants