nezha/.goreleaser.yml

48 lines
835 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:
- id: nezha-agent
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- 386
- arm
- mips
- mips64
ignore:
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm
- goos: darwin
goarch: mips
- goos: darwin
goarch: mips64
- goos: windows
goarch: arm
- goos: windows
goarch: mips
- goos: windows
goarch: mips64
2020-11-29 09:17:40 -05:00
main: ./cmd/agent
2020-11-29 10:07:31 -05:00
binary: nezha-agent
2020-11-29 09:17:40 -05:00
checksum:
name_template: "checksums.txt"
snapshot:
2020-11-29 10:07:31 -05:00
name_template: "{{.ProjectName}}"
archives:
2020-11-29 11:07:27 -05:00
- name_template: "nezha-agent_{{ .Os }}_{{ .Arch }}"
2020-11-29 09:17:40 -05:00
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"