Skip to content

Commit

Permalink
goreleaser: build arm 6/7, amd64 v2/v3, publish to homebrew tap
Browse files Browse the repository at this point in the history
  • Loading branch information
jrockway committed May 28, 2022
1 parent ff85fe8 commit 1395130
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ builds:
- amd64
- arm
- arm64
goarm:
- 6
- 7
goamd64:
- v2
- v3
ignore:
- goos: darwin
goarch: arm
Expand All @@ -43,7 +49,7 @@ archives:
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
name_template: "{{ slice .Tag 1 }}-next"
changelog:
sort: asc
filters:
Expand All @@ -62,3 +68,19 @@ release:
disable: false
source:
enabled: false
brews:
- name: jlog
tap:
owner: jrockway
name: homebrew-tap
homepage: "https://github.com/jrockway/json-logs"
description: "Pretty-print JSON logs"
license: Apache-2.0
goarm: 6
goamd64: v2
conflicts:
- jlog
test: |
system "#{bin}/jlog --version"
install: |
bin.install jlog

0 comments on commit 1395130

Please sign in to comment.