Skip to content

Commit ef72531

Browse files
committed
update goreleaser config to support brew
1 parent c50d838 commit ef72531

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
version: latest
2222
args: release --rm-dist
2323
env:
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/tparallel
22
.envrc
3+
/dist

.goreleaser.yml

+10
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,13 @@ archives:
2626
format: zip
2727
release:
2828
prerelease: auto
29+
brews:
30+
- tap:
31+
owner: moricho
32+
name: homebrew-tparallel
33+
homepage: https://github.com/moricho/tparallel
34+
description: tparallel detects inappropriate usage of t.Parallel() method in your Go test codes
35+
install: |
36+
bin.install "tparallel"
37+
test: |
38+
system "#{bin}/goreleaser -v"

0 commit comments

Comments
 (0)