Skip to content

Commit

Permalink
ci: Add brew repository
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Aug 15, 2023
1 parent 2e65764 commit d9ac6a9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
HOMEBREW_SSH_KEY: ${{ secrets.HOMEBREW_SSH_KEY }}
- uses: actions/upload-artifact@v3
with:
name: dist
Expand Down
9 changes: 9 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ changelog:
exclude:
- '^docs:'
- '^test:'
brews:
- repository:
owner: gabe565
name: homebrew-tap
git:
private_key: '{{ envOrDefault "HOMEBREW_SSH_KEY" "" }}'
folder: Formula
install: |
bin.install "{{ .ProjectName }}"
dockers:
- &dockers
image_templates:
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ Additionally, sponsorblockcast-go will look for skippable YouTube ads, and autom
```
</details>

### Homebrew (macOS, Linux)

<details>
<summary>Click to expand</summary>

```shell
brew install gabe565/tap/sponsorblockcast-go
```
</details>

### Manual Installation

<details>
Expand Down

0 comments on commit d9ac6a9

Please sign in to comment.