Use goreleaser for releasing binaries

This commit is contained in:
waseem
2019-10-18 12:34:26 +02:00
parent b6a333ea73
commit f8b3b21bbd
3 changed files with 25 additions and 3 deletions

22
.goreleaser.yml Normal file
View File

@@ -0,0 +1,22 @@
builds:
- env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
goarch:
- 386
- amd64
- arm
- arm64
snapshot:
name_template: "{{ .Tag }}-next"
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'