Files
kapow/.goreleaser.yml
2019-12-13 22:47:29 +01:00

41 lines
741 B
YAML

before:
hooks:
- go mod tidy
builds:
- flags:
- -trimpath
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
- arm
- arm64
ignore:
- goos: darwin
goarch: 386
archives:
- format: binary
format_overrides:
- goos: windows
format: zip
checksum:
name_template: '{{ .ProjectName }}-{{ .Version }}-SHA512SUMS'
algorithm: sha512
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
signs:
- artifacts: checksum
signature: "${artifact}.GPG"
args: ["--batch", "--local-user", "release-bot@kapow", "--output", "${signature}", "--armor", "--clear-sign", "${artifact}"]