Add goreleaser configuration

This commit is contained in:
Vladimir Hodakov 2019-03-30 08:18:31 +04:00
parent 7a188bcbaa
commit 7f1b3ec002
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6
2 changed files with 27 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/dist/

26
.goreleaser.yml Normal file
View File

@ -0,0 +1,26 @@
before:
hooks:
# you may remove this if you don't use vgo
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'