From 333918110f93542dd86826252e6d86f88da34aa4 Mon Sep 17 00:00:00 2001 From: FLC Date: Tue, 19 May 2026 23:43:48 +0800 Subject: [PATCH 1/3] ci(release): switch homebrew install to formula --- .goreleaser.yaml | 11 +++++++---- README.md | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) 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..6ece137 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ 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: From e33257c1666b36f85280b364ac4864e42bc13290 Mon Sep 17 00:00:00 2001 From: FLC Date: Tue, 19 May 2026 23:46:14 +0800 Subject: [PATCH 2/3] docs(readme): clarify go install requirement --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 6ece137..f09bab6 100644 --- a/README.md +++ b/README.md @@ -20,15 +20,13 @@ webhooks, and TAPD Lite comments. ## Install -Requires Go 1.25 or later. - Install with Homebrew: ```bash brew install go-tapd/tap/tapd ``` -Or install with Go: +Or install with Go 1.25 or later: ```bash go install github.com/go-tapd/cli/cmd/tapd@latest From 929ac3122d7b155b6059b4bedca9e48acbe811cb Mon Sep 17 00:00:00 2001 From: FLC Date: Tue, 19 May 2026 23:47:06 +0800 Subject: [PATCH 3/3] docs(readme): mention github release downloads --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f09bab6..cfa4ad8 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,9 @@ Install with Homebrew: brew install go-tapd/tap/tapd ``` +Or download a prebuilt archive from +[GitHub Releases](https://github.com/go-tapd/cli/releases). + Or install with Go 1.25 or later: ```bash