Skip to content

Commit

Permalink
ci: publish to homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
acifani committed Nov 29, 2022
1 parent 25561d1 commit e2c1f48
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
12 changes: 12 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
builds:
- main: ./cmd/f1go
binary: f1go
goos:
- linux
- darwin
Expand All @@ -12,3 +13,14 @@ archives:
- format_overrides:
- goos: windows
format: zip

brews:
- tap:
owner: acifani
name: homebrew-tap
folder: Formula
homepage: https://github.com/acifani/formula1-go
description: Command line application to show and display Formula1 schedules, standings, and results.
license: MIT
test: |
system "#{bin}/f1go version"

0 comments on commit e2c1f48

Please sign in to comment.