2021-12-10 15:49:29 -07:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod tidy
|
|
|
|
- go vet
|
|
|
|
- staticcheck
|
|
|
|
- gosec .
|
|
|
|
builds:
|
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
targets:
|
|
|
|
- openbsd_amd64
|
|
|
|
- openbsd_arm64
|
|
|
|
- openbsd_386
|
|
|
|
- openbsd_arm
|
|
|
|
- freebsd_amd64
|
|
|
|
- freebsd_arm64
|
|
|
|
- freebsd_386
|
|
|
|
- darwin_amd64
|
|
|
|
- darwin_arm64
|
|
|
|
- windows_amd64
|
|
|
|
- netbsd_amd64
|
|
|
|
- netbsd_arm64
|
|
|
|
- netbsd_386
|
|
|
|
- dragonfly_amd64
|
|
|
|
goos:
|
|
|
|
- openbsd
|
|
|
|
- freebsd
|
|
|
|
- netbsd
|
|
|
|
- dragonfly
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- darwin
|
|
|
|
ldflags:
|
|
|
|
- -s -w -X main.build={{.Version}}
|
2021-12-11 16:08:26 -07:00
|
|
|
signs:
|
|
|
|
- artifacts: checksum
|
|
|
|
source:
|
|
|
|
enabled: true
|
|
|
|
name_template: '{{ .ProjectName }}-src-{{ .Version }}'
|
2021-12-10 15:49:29 -07:00
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|