Skip to content

feat: add Homebrew distribution via GoReleaser - #4

Merged
jflowers merged 1 commit into
mainfrom
opsx/homebrew-distribution
Apr 5, 2026
Merged

jflowers merged 1 commit into
mainfrom
opsx/homebrew-distribution

Conversation

@jflowers

@jflowers jflowers commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Implements Issue #2 -- adds Homebrew distribution so replicator is installable via brew install unbound-force/tap/replicator.

  • GoReleaser v2 config: Cross-platform builds (darwin/linux x amd64/arm64), Homebrew cask with quarantine removal hook, conventional commit changelog grouping
  • Release workflow: Triggered on v* tags, runs GoReleaser, uploads generated cask to GitHub Release
  • Makefile: make release (local dry-run), make install (GOPATH/bin)
  • Version info: replicator version now shows commit hash and build date via ldflags

To release

git tag v0.1.0
git push origin v0.1.0

The release workflow builds binaries, creates a GitHub Release, and generates a Homebrew cask at dist/homebrew/Casks/replicator.rb.

Closes #2

- GoReleaser v2 config with cross-platform builds (darwin/linux x amd64/arm64)
- Homebrew cask auto-published to unbound-force/homebrew-tap
- macOS quarantine removal post-install hook
- Release workflow triggered on v* tags
- Makefile: release (dry-run) and install (GOPATH/bin) targets
- Version command now shows commit hash and build date
@jflowers
jflowers merged commit ca8bd53 into main Apr 5, 2026
1 check passed
@jflowers
jflowers deleted the opsx/homebrew-distribution branch April 5, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

feat: add Homebrew distribution via GoReleaser

1 participant