Skip to content

Commit

Permalink
update goreleaser config to support brew
Browse files Browse the repository at this point in the history
  • Loading branch information
moricho committed Sep 4, 2020
1 parent c50d838 commit ef72531
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/tparallel
.envrc
/dist
10 changes: 10 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,13 @@ archives:
format: zip
release:
prerelease: auto
brews:
- tap:
owner: moricho
name: homebrew-tparallel
homepage: https://github.com/moricho/tparallel
description: tparallel detects inappropriate usage of t.Parallel() method in your Go test codes
install: |
bin.install "tparallel"
test: |
system "#{bin}/goreleaser -v"

0 comments on commit ef72531

Please sign in to comment.