@vmvarela/semantic-release-homebrew
v0.1.0
Published
semantic-release plugin for updating Homebrew formulae in a tap repo
Readme
@vmvarela/semantic-release-homebrew
Update Homebrew formulae in a custom tap repository during semantic-release.
Usage
plugins:
- '@vmvarela/semantic-release-homebrew':
tap_repo: "vmvarela/homebrew-tap"
formula_template: "packaging/formula.rb.hbs"
assets:
- my-cli-x86_64-macos
- my-cli-aarch64-macos
- my-cli-x86_64-linux
- my-cli-aarch64-linuxConfig
| Option | Type | Required | Description |
|--------|------|----------|-------------|
| tap_repo | string | yes | GitHub repo of the tap (owner/repo) |
| formula_template | string | yes | Path to Handlebars template for the formula |
| assets | string[] | yes | Asset names to include (macOS + Linux assets) |
| man_asset | string | no | Man page asset name to include |
Secrets
HOMEBREW_TAP_TOKEN— fine-grained PAT withcontents:writeon the tap repo
Requirements
semantic-release^24- Node >= 24
