nezha/.goreleaser.yml

49 lines
892 B
YAML
Raw Normal View History

2020-12-12 22:53:04 -05:00
before:
hooks:
- go mod tidy -v
2020-11-29 09:17:40 -05:00
builds:
2021-11-03 09:40:22 -04:00
- env:
2020-11-29 09:17:40 -05:00
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- arm
- arm64
- 386
- amd64
- mips
- mipsle
gomips:
- softfloat
2021-04-25 12:07:55 -04:00
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
2020-11-29 09:17:40 -05:00
main: ./cmd/agent
2020-11-29 10:07:31 -05:00
binary: nezha-agent
2021-11-02 21:36:18 -04:00
universal_binaries:
2021-11-03 09:40:22 -04:00
- name_template: "nezha-agent"
2021-11-04 00:06:20 -04:00
replace: false
2020-11-29 09:17:40 -05:00
checksum:
name_template: "checksums.txt"
snapshot:
2021-11-03 09:40:22 -04:00
name_template: "nezha-agent"
2020-11-29 10:07:31 -05:00
archives:
2021-11-03 09:48:24 -04:00
- name_template: "nezha-agent_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
2021-11-03 09:05:18 -04:00
files:
2021-11-03 09:40:22 -04:00
- none*
2020-11-29 09:17:40 -05:00
changelog:
sort: asc
2021-11-03 09:05:18 -04:00
use: github
2020-11-29 09:17:40 -05:00
filters:
exclude:
2021-11-03 09:40:22 -04:00
- "^docs:"
- "^test:"
- "^chore"
2021-11-03 09:05:18 -04:00
- Merge pull request
- Merge branch
2021-11-03 09:40:22 -04:00
- go mod tidy