yapusher/.goreleaser.yml

46 lines
734 B
YAML

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
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
freebsd: FreeBSD
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
- goos: darwin
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'