Drop arm32 (armhf) for linux and add Darwin arm64
This commit is contained in:
parent
0797148076
commit
2653c2f5e8
1 changed files with 5 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- go mod tidy -compat=1.17
|
- go mod tidy -compat=1.18
|
||||||
|
|
||||||
release:
|
release:
|
||||||
prerelease: auto
|
prerelease: auto
|
||||||
|
@ -21,17 +21,15 @@ builds:
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w -X github.com/juanfont/headscale/cmd/headscale/cli.Version=v{{.Version}}
|
- -s -w -X github.com/juanfont/headscale/cmd/headscale/cli.Version=v{{.Version}}
|
||||||
|
|
||||||
- id: linux-armhf
|
- id: darwin-arm64
|
||||||
main: ./cmd/headscale/headscale.go
|
main: ./cmd/headscale/headscale.go
|
||||||
mod_timestamp: "{{ .CommitTimestamp }}"
|
mod_timestamp: "{{ .CommitTimestamp }}"
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- darwin
|
||||||
goarch:
|
goarch:
|
||||||
- arm
|
- arm64
|
||||||
goarm:
|
|
||||||
- "7"
|
|
||||||
flags:
|
flags:
|
||||||
- -mod=readonly
|
- -mod=readonly
|
||||||
ldflags:
|
ldflags:
|
||||||
|
@ -65,7 +63,7 @@ archives:
|
||||||
- id: golang-cross
|
- id: golang-cross
|
||||||
builds:
|
builds:
|
||||||
- darwin-amd64
|
- darwin-amd64
|
||||||
- linux-armhf
|
- darwin-arm64
|
||||||
- linux-amd64
|
- linux-amd64
|
||||||
- linux-arm64
|
- linux-arm64
|
||||||
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||||
|
|
Loading…
Reference in a new issue