diff --git a/.goreleaser.yaml b/.goreleaser.yaml index f50a8e7..ecda200 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -39,24 +39,27 @@ archives: checksum: name_template: checksums.txt -homebrew_casks: +brews: - name: tapd ids: - tapd - binaries: - - tapd repository: owner: go-tapd name: homebrew-tap branch: main token: "{{ .Env.TAP_GITHUB_TOKEN }}" - directory: Casks + directory: Formula homepage: "https://github.com/go-tapd/cli" description: "TAPD command line client" + license: "MIT" commit_msg_template: "chore: update tapd to {{ .Tag }}" commit_author: name: go-tapd-bot email: actions@github.com + install: | + bin.install "tapd" + test: | + system "#{bin}/tapd", "--help" snapshot: version_template: "{{ incpatch .Version }}-next" diff --git a/README.md b/README.md index a8c1f9e..cfa4ad8 100644 --- a/README.md +++ b/README.md @@ -20,15 +20,16 @@ webhooks, and TAPD Lite comments. ## Install -Requires Go 1.25 or later. - Install with Homebrew: ```bash -brew install --cask go-tapd/tap/tapd +brew install go-tapd/tap/tapd ``` -Or install with Go: +Or download a prebuilt archive from +[GitHub Releases](https://github.com/go-tapd/cli/releases). + +Or install with Go 1.25 or later: ```bash go install github.com/go-tapd/cli/cmd/tapd@latest