Skip to content

Commit

Permalink
chore: fix MacOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Nov 29, 2024
1 parent 85bb528 commit 877a175
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@ builds:
goarch: arm64
overrides:
- goos: darwin
goarch: arm64
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
- goos: darwin
goarch: amd64
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

env:
- CGO_ENABLED=0
Expand Down

0 comments on commit 877a175

Please sign in to comment.