👷 macOS universal binaries support
This commit is contained in:
parent
948f398509
commit
e12d87f2ce
@ -5,8 +5,6 @@ builds:
|
|||||||
- id: nezha-agent
|
- id: nezha-agent
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
ldflags:
|
|
||||||
- -s -w
|
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
@ -28,16 +26,27 @@ builds:
|
|||||||
main: ./cmd/agent
|
main: ./cmd/agent
|
||||||
binary: nezha-agent
|
binary: nezha-agent
|
||||||
universal_binaries:
|
universal_binaries:
|
||||||
- replace: true
|
- id: nezha-agent
|
||||||
|
name_template: "nezha-agent"
|
||||||
|
replace: true
|
||||||
checksum:
|
checksum:
|
||||||
name_template: "checksums.txt"
|
name_template: "checksums.txt"
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: "{{.ProjectName}}"
|
name_template: "{{.ProjectName}}"
|
||||||
archives:
|
archives:
|
||||||
- name_template: "nezha-agent_{{ .Os }}_{{ .Arch }}"
|
- name_template: "nezha-agent"
|
||||||
|
files:
|
||||||
|
- README.md
|
||||||
|
- LICENSE
|
||||||
|
- completions/*
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
|
use: github
|
||||||
filters:
|
filters:
|
||||||
exclude:
|
exclude:
|
||||||
- "^docs:"
|
- '^docs:'
|
||||||
- "^test:"
|
- '^test:'
|
||||||
|
- '^chore'
|
||||||
|
- Merge pull request
|
||||||
|
- Merge branch
|
||||||
|
- go mod tidy
|
Loading…
Reference in New Issue
Block a user