Permalink
Browse files

fix #25: integrate with goreleaser

  • Loading branch information...
kamilsk committed Apr 27, 2018
1 parent 62048a4 commit 9a9ee6592a093af902d7f14cc0ec5895f8a610d2
Showing with 49 additions and 0 deletions.
  1. +49 −0 .goreleaser.yml
@@ -0,0 +1,49 @@
archive:
files:
- LICENSE
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{.Binary}}_{{.Version}}_{{.Os}}-{{.Arch}}"
replacements:
386: 32bit
amd64: 64bit

darwin: macOS
linux: Linux
windows: Windows

brew:
caveats: Use `check --help` to see detailed help message
commit_author:
name: Kamil Samigullin
email: kamil@samigullin.info
description: Check Something as a Service.
folder: Formula
github:
name: homebrew-tap
owner: kamilsk
homepage: https://github.com/kamilsk/check

build:
binary: check
env:
- CGO_ENABLED=0
goarch:
- 386
- amd64
goos:
- darwin
- linux
- windows
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
main: .

checksum: { name_template: checksums.txt }

release:
draft: false
github:
name: check
owner: kamilsk

0 comments on commit 9a9ee65

Please sign in to comment.