nezha/.goreleaser.yml

50 lines
840 B
YAML
Raw Normal View History

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