Skip to content

Commit

Permalink
Add homebrew output to goreleaser config
Browse files Browse the repository at this point in the history
- Also update archive to contain README and LICENSE

Authored-by: Ed Cook <[email protected]>
  • Loading branch information
edwardecook committed Aug 30, 2019
1 parent a07b58b commit 493c7a8
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ builds:
- GO111MODULE=on
- CGO_ENABLED=0
archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
files:
- none*
- id: archive
format: "tar.gz"
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
brews:
- github:
owner: pivotal
name: hammer
ids:
- archive
test: |
system "#{bin}/hammer version"
changelog:

0 comments on commit 493c7a8

Please sign in to comment.