Skip to content

Commit 915c2ad

Browse files
authored
Merge pull request #271 from shelltime/claude/homebrew-tap-setup-Lw6rR
Add Homebrew tap distribution for ShellTime CLI
2 parents be7aff6 + a717507 commit 915c2ad

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,4 @@ jobs:
6363
QUILL_NOTARY_KEY: ${{ secrets.QUILL_NOTARY_KEY }}
6464
QUILL_NOTARY_KEY_ID: ${{ secrets.QUILL_NOTARY_KEY_ID }}
6565
QUILL_NOTARY_ISSUER: ${{ secrets.QUILL_NOTARY_ISSUER }}
66+
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}

.goreleaser.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,34 @@ notarize:
136136
key_id: "{{.Env.QUILL_NOTARY_KEY_ID}}"
137137
key: "{{.Env.QUILL_NOTARY_KEY}}"
138138
wait: true
139+
brews:
140+
- name: shelltime
141+
ids:
142+
- mt-common
143+
- mac
144+
repository:
145+
owner: shelltime
146+
name: homebrew-tap
147+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
148+
directory: Formula
149+
homepage: "https://shelltime.xyz"
150+
description: "Track and analyze your shell usage - ShellTime CLI"
151+
license: "MIT"
152+
commit_author:
153+
name: shelltime-bot
154+
email: bot@shelltime.xyz
155+
install: |
156+
bin.install "shelltime"
157+
bin.install "shelltime-daemon"
158+
test: |
159+
system "#{bin}/shelltime", "--version"
160+
caveats: |
161+
To get started with ShellTime, run:
162+
shelltime init
163+
164+
Or set up manually:
165+
shelltime auth
166+
shelltime hooks install
167+
shelltime daemon install
168+
169+
For more info, visit https://shelltime.xyz

0 commit comments

Comments
 (0)