36 lines
532 B
YAML
36 lines
532 B
YAML
|
env:
|
||
|
- GO111MODULE=on
|
||
|
|
||
|
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
|
||
|
|
||
|
checksum:
|
||
|
name_template: 'checksums.txt'
|
||
|
|
||
|
signs:
|
||
|
-
|
||
|
artifacts: checksum
|
||
|
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
|