add goreleaser config file

This commit is contained in:
Danny van Kooten 2018-10-30 19:26:01 +01:00
parent 17577d852b
commit e6704faa66
1 changed files with 26 additions and 0 deletions

26
.goreleaser.yml Normal file
View File

@ -0,0 +1,26 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
builds:
-
main: ./cmd/fathom/main.go
goos:
- linux
goarch:
- amd64
- 386
- arm64
env:
- CGO_ENABLED=0
hooks:
pre: packr
post: packr clean
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'