Skip to content

Commit d1c7294

Browse files
Build and Publish Homebrew Package (#330)
* Initial go at homebrew * Adding end of file new line * Readme cleanup * rename tap owner Co-authored-by: Dustin Decker <[email protected]>
1 parent 4954086 commit d1c7294

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.goreleaser.yml

+10
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,13 @@ docker_manifests:
7878
image_templates:
7979
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-amd64
8080
- ghcr.io/trufflesecurity/{{ .ProjectName }}:{{ .Version }}-arm64v8
81+
brews:
82+
- tap:
83+
owner: trufflesecurity
84+
name: homebrew-trufflehog
85+
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
86+
description: "Find credentials all over the place"
87+
name: "trufflehog"
88+
homepage: "https://github.com/trufflesecurity/trufflehog"
89+
install: |
90+
bin.install "trufflehog"

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,12 @@ Here is an example of a [project that does it](https://github.com/Yelp/dumb-init
8080

8181
Help with setting up this packaging would be appreciated!
8282

83-
### 5. Brew (help wanted)
83+
### 5. Brew
8484

85-
We'd love to distribute via brew and could use your help.
85+
```bash
86+
brew tap trufflesecurity/trufflehog
87+
brew install trufflehog
88+
```
8689

8790
## Usage
8891

0 commit comments

Comments
 (0)