Skip to content

Commit

Permalink
Add homebrew support
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Shishkin <[email protected]>
  • Loading branch information
teran committed Nov 4, 2019
1 parent 906224e commit eab8cad
Showing 1 changed file with 28 additions and 8 deletions.
36 changes: 28 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
brews:
- name: checksum
github:
owner: teran
name: homebrew-tap
ids:
- default
commit_author:
name: "Igor Shishkin"
email: [email protected]
url_template: "https://github.com/teran/checksum/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
folder: Formula
homepage: "https://github.com/teran/checksum"
description: "SHA256 file verification for consistency check purposes"
test: |
system "#{bin}/checksum -version"
install: |
bin.install "checksum"
builds:
- env:
- CGO_ENABLED=0
Expand All @@ -11,12 +29,14 @@ builds:
- amd64
- arm
- arm64
archive:
replacements:
386: i386
format_overrides:
- goos: windows
format: zip
archives:
- id: default
format_overrides:
- goos: windows
format: zip
replacements:
386: i386
darwin: macOS
checksum:
name_template: 'checksums.txt'
snapshot:
Expand All @@ -27,5 +47,5 @@ changelog:
exclude:
- '^docs:'
- '^test:'
sign:
artifacts: checksum
signs:
- artifacts: checksum

0 comments on commit eab8cad

Please sign in to comment.