chore: fix MacOS build

This commit is contained in:
andig 2024-11-29 17:30:45 +01:00
parent 85bb5283a2
commit 877a1752ed

View file

@ -34,8 +34,13 @@ builds:
goarch: arm64
overrides:
- goos: darwin
goarch: arm64
ldflags:
- "-B gobuildid"
- -X github.com/evcc-io/evcc/server.Version={{ .Version }} -X github.com/evcc-io/evcc/vehicle/tesla.TESLA_CLIENT_ID={{ .Env.TESLA_CLIENT_ID }} -s -w -B gobuildid
- goos: darwin
goarch: amd64
ldflags:
- -X github.com/evcc-io/evcc/server.Version={{ .Version }} -X github.com/evcc-io/evcc/vehicle/tesla.TESLA_CLIENT_ID={{ .Env.TESLA_CLIENT_ID }} -s -w -B gobuildid
env:
- CGO_ENABLED=0