Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Comment on lines +61 to +62
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The Homebrew test block currently only verifies that the command exits successfully. It is a best practice to also verify that the output contains expected content (e.g., the application name) to ensure the binary is functioning correctly and is the intended tool.

    test: |
      assert_match "tapd", shell_output("#{bin}/tapd --help")


snapshot:
version_template: "{{ incpatch .Version }}-next"
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading