diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6326c09..6bec9df 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -55,3 +55,23 @@ changelog: - "^chore:" - "^ci:" - "^test:" + +brews: + - name: bumblebee + repository: + owner: perplexityai + name: homebrew-tap + token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}" + directory: Formula + homepage: "https://github.com/perplexityai/bumblebee" + description: "Read-only developer endpoint scanner for supply-chain exposure" + license: "Apache-2.0" + install: | + bin.install "bumblebee" + pkgshare.install "threat_intel" + test: | + assert_match version.to_s, shell_output("#{bin}/bumblebee version") + assert_match "selftest OK", shell_output("#{bin}/bumblebee selftest") + commit_author: + name: github-actions[bot] + email: 41898282+github-actions[bot]@users.noreply.github.com diff --git a/README.md b/README.md index a94e626..f23007c 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,22 @@ Per-ecosystem detail: [docs/inventory-sources.md](docs/inventory-sources.md). ## Install +### Homebrew + +```sh +brew install bumblebee +``` + +A formula is in review for [Homebrew core](https://github.com/Homebrew/homebrew-core/pull/284878). Until it merges, install from [GitHub releases](https://github.com/perplexityai/bumblebee/releases) or build from source below. + +Verify any install with: + +```sh +bumblebee selftest +``` + +### Go install + Requires Go 1.25+. Zero non-stdlib dependencies. ```sh