goreleaser

This commit is contained in:
Yann Hamon 2020-06-07 11:31:21 +02:00
parent 9293920f2a
commit ae53238bbd
2 changed files with 26 additions and 0 deletions

23
.goreleaser.yml Normal file
View file

@ -0,0 +1,23 @@
builds:
- env:
- CGO_ENABLED=0
goos:
- windows
- linux
- darwin
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

View file

@ -24,3 +24,6 @@ build-bats:
docker-acceptance: build-bats
docker run -t bats acceptance.bats
release:
goreleaser --rm-dist