2020-12-12 22:53:04 -05:00
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod tidy -v
|
2020-11-29 09:17:40 -05:00
|
|
|
builds:
|
2022-05-23 08:45:46 -04:00
|
|
|
- id: universal
|
|
|
|
env:
|
2020-11-29 09:17:40 -05:00
|
|
|
- CGO_ENABLED=0
|
2022-01-18 07:41:51 -05:00
|
|
|
ldflags:
|
|
|
|
- -s -w -X main.version={{.Version}} -X main.arch={{.Arch}}
|
2020-11-29 09:17:40 -05:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- windows
|
2022-06-28 08:34:59 -04:00
|
|
|
- freebsd
|
2020-12-21 06:14:50 -05:00
|
|
|
goarch:
|
2021-01-18 20:59:04 -05:00
|
|
|
- arm
|
2020-12-21 06:14:50 -05:00
|
|
|
- arm64
|
|
|
|
- 386
|
2021-01-18 20:59:04 -05:00
|
|
|
- amd64
|
2020-12-21 06:14:50 -05:00
|
|
|
- mips
|
2021-05-28 06:22:39 -04:00
|
|
|
- mipsle
|
2021-12-02 09:55:21 -05:00
|
|
|
- s390x
|
|
|
|
- riscv64
|
2021-01-18 20:59:04 -05:00
|
|
|
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
|
2022-05-23 08:45:46 -04:00
|
|
|
- id: darwin-amd64
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=1
|
|
|
|
- CC=o64-clang
|
|
|
|
- CXX=o64-clang++
|
|
|
|
ldflags:
|
|
|
|
- -s -w -X main.version={{.Version}} -X main.arch={{.Arch}}
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
main: ./cmd/agent
|
|
|
|
binary: nezha-agent
|
|
|
|
- id: darwin-arm64
|
|
|
|
env:
|
|
|
|
- CGO_ENABLED=1
|
|
|
|
- CC=oa64-clang
|
|
|
|
- CXX=oa64-clang++
|
|
|
|
ldflags:
|
|
|
|
- -s -w -X main.version={{.Version}} -X main.arch={{.Arch}}
|
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
goarch:
|
|
|
|
- arm64
|
|
|
|
main: ./cmd/agent
|
|
|
|
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-04 07:52:15 -04:00
|
|
|
- name_template: "nezha-agent_{{ .Os }}_{{ .Arch }}"
|
2022-04-28 11:39:44 -04:00
|
|
|
format: zip
|
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-08 21:12:47 -05:00
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- "^docs:"
|
|
|
|
- "^test:"
|
|
|
|
- "^chore"
|
|
|
|
- Merge pull request
|
|
|
|
- Merge branch
|
|
|
|
- go mod tidy
|