To enable brew install kdiff, you need to create a Homebrew tap repository:
-
Create a new repository named
homebrew-tapon GitHub under your account- Repository:
https://github.com/rajamohan-rj/homebrew-tap
- Repository:
-
Initialize the repository:
git clone https://github.com/rajamohan-rj/homebrew-tap.git cd homebrew-tap mkdir Formula echo "# Homebrew Tap for kdiff" > README.md git add . git commit -m "Initial commit" git push origin main
-
GoReleaser will automatically:
- Create Formula/kdiff.rb on each release
- Update the formula with new versions
- Handle dependencies and checksums
-
Users can then install via:
brew tap rajamohan-rj/tap brew install kdiff
The Homebrew tap is configured in .goreleaser.yaml and will be automatically maintained by the release process.