yapusher/.goreleaser.yml

46 lines
734 B
YAML
Raw Normal View History

2019-03-30 08:18:31 +04:00
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
goos:
- darwin
- windows
- linux
- freebsd
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
2019-03-30 08:18:31 +04:00
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
freebsd: FreeBSD
2019-03-30 08:18:31 +04:00
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
- goos: darwin
format: zip
2019-03-30 08:18:31 +04:00
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'