mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
33 lines
525 B
YAML
33 lines
525 B
YAML
before:
|
|
hooks:
|
|
- go mod tidy -v
|
|
builds:
|
|
- id: nezha-agent
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- windows
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
- 386
|
|
- arm
|
|
- mips
|
|
- mips64
|
|
main: ./cmd/agent
|
|
binary: nezha-agent
|
|
checksum:
|
|
name_template: "checksums.txt"
|
|
snapshot:
|
|
name_template: "{{.ProjectName}}"
|
|
archives:
|
|
- name_template: "nezha-agent_{{ .Os }}_{{ .Arch }}"
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^test:"
|