Skip to content

Commit 3cd3970

Browse files
committed
Configure homebrew
1 parent 0f9f542 commit 3cd3970

File tree

3 files changed

+45
-3
lines changed

3 files changed

+45
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ jobs:
2424
version: latest
2525
args: release --clean
2626
env:
27-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28-
27+
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}

.goreleaser.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ builds:
1919
archives:
2020
- id: archive
2121
ids: [tess]
22-
formats: ['zip']
22+
formats: [tar.gz]
2323
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_v{{ .Version }}'
2424
files:
2525
- README.md
@@ -28,6 +28,27 @@ archives:
2828
checksum:
2929
name_template: 'checksums_v{{ .Version }}.txt'
3030

31+
brews:
32+
- name: tess
33+
repository:
34+
owner: vigetlabs
35+
name: homebrew-taps
36+
directory: Formula
37+
description: Generate Lattice review summaries; optional Drive upload via rclone.
38+
homepage: https://github.com/vigetlabs/tess
39+
license: "" # internal-use; omit or set if you later add a license
40+
dependencies:
41+
- name: rclone
42+
- name: pandoc
43+
- name: tectonic
44+
test: |
45+
system "#{bin}/tess", "--help"
46+
install: |
47+
bin.install "tess"
48+
commit_author:
49+
name: tess-bot
50+
email: noreply@viget.com
51+
3152
release:
3253
draft: false
3354
prerelease: false

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,28 @@ Tess is a small CLI that pulls review information from the Lattice API and helps
1616
- Build: `make`
1717
- Run: `./bin/tess`
1818

19+
### Homebrew (macOS)
20+
21+
You can install Tess via Homebrew using our tap:
22+
23+
```
24+
brew tap vigetlabs/taps
25+
brew install tess
26+
```
27+
28+
Upgrade later with:
29+
30+
```
31+
brew upgrade tess
32+
```
33+
34+
The Homebrew formula installs a prebuilt macOS arm64 binary and declares the following dependencies:
35+
36+
- rclone: required for Google Drive upload features
37+
- pandoc: required for DOCX/PDF export
38+
39+
If you don’t need Drive export, Tess can still generate local Markdown reports without these tools.
40+
1941
### Releases
2042

2143
- Tags drive releases. Create a tag like `v1.2.3` and push it; GitHub Actions runs GoReleaser to build macOS binaries for arm64 and amd64 and attach zipped artifacts to the release.

0 commit comments

Comments
 (0)