mirror of
https://github.com/nezhahq/nezha.git
synced 2025-02-02 09:38:13 -05:00
👷 macOS universal binaries support
This commit is contained in:
parent
2289d16f03
commit
948f398509
@ -5,6 +5,8 @@ builds:
|
|||||||
- id: nezha-agent
|
- id: nezha-agent
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
|
ldflags:
|
||||||
|
- -s -w
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
@ -25,6 +27,8 @@ builds:
|
|||||||
goarch: arm64
|
goarch: arm64
|
||||||
main: ./cmd/agent
|
main: ./cmd/agent
|
||||||
binary: nezha-agent
|
binary: nezha-agent
|
||||||
|
universal_binaries:
|
||||||
|
- replace: true
|
||||||
checksum:
|
checksum:
|
||||||
name_template: "checksums.txt"
|
name_template: "checksums.txt"
|
||||||
snapshot:
|
snapshot:
|
||||||
|
Loading…
Reference in New Issue
Block a user