2020-05-10 14:02:05 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
|
|
|
- GOPROXY=https://goproxy.io
|
|
|
|
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod download
|
|
|
|
|
|
|
|
builds:
|
|
|
|
-
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- 386
|
|
|
|
- amd64
|
|
|
|
|
|
|
|
archives:
|
|
|
|
-
|
|
|
|
replacements:
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
|
|
|
files:
|
|
|
|
- LICENSE
|
|
|
|
- README.md
|
|
|
|
- CHANGELOG.md
|
|
|
|
|
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
|
|
|
|
signs:
|
|
|
|
-
|
|
|
|
artifacts: checksum
|
2020-05-10 16:42:15 +00:00
|
|
|
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
|