2020-08-30 13:55:22 +08:00
|
|
|
before:
|
|
|
|
hooks:
|
2021-05-23 23:32:55 +08:00
|
|
|
- go mod tidy
|
2019-01-13 12:45:25 +08:00
|
|
|
builds:
|
2021-05-23 23:32:55 +08:00
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- amd64
|
2021-12-23 01:29:43 +08:00
|
|
|
- '386'
|
2021-05-23 23:32:55 +08:00
|
|
|
- arm64
|
|
|
|
- arm
|
|
|
|
goarm:
|
2021-12-23 01:29:43 +08:00
|
|
|
- '6'
|
|
|
|
- '7'
|
2021-05-23 23:32:55 +08:00
|
|
|
ignore:
|
|
|
|
- goos: windows
|
2021-12-23 01:29:43 +08:00
|
|
|
goarm: '6'
|
2019-01-13 12:45:25 +08:00
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
2020-02-20 11:16:40 +08:00
|
|
|
archives:
|
2021-05-23 23:32:55 +08:00
|
|
|
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
|
2020-02-20 11:16:40 +08:00
|
|
|
replacements:
|
|
|
|
darwin: Darwin
|
|
|
|
linux: Linux
|
|
|
|
windows: Windows
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
|
|
|
format_overrides:
|
2021-05-23 23:32:55 +08:00
|
|
|
- goos: windows
|
|
|
|
format: zip
|