nezha/.goreleaser.yml

26 lines
430 B
YAML
Raw Normal View History

2020-11-29 22:17:40 +08:00
before:
hooks:
2020-12-13 00:30:08 +08:00
- go get -v .
2020-11-29 22:17:40 +08:00
builds:
- id: nezha-agent
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
main: ./cmd/agent
2020-11-29 23:07:31 +08:00
binary: nezha-agent
2020-11-29 22:17:40 +08:00
checksum:
name_template: "checksums.txt"
snapshot:
2020-11-29 23:07:31 +08:00
name_template: "{{.ProjectName}}"
archives:
2020-11-30 00:07:27 +08:00
- name_template: "nezha-agent_{{ .Os }}_{{ .Arch }}"
2020-11-29 22:17:40 +08:00
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"