From 68e6ee73c8252ccb666989b5be6c0fed1c7fc1b5 Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 29 Nov 2024 17:31:45 +0100 Subject: [PATCH] chore: fix MacOS nightly build --- .goreleaser-nightly.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.goreleaser-nightly.yml b/.goreleaser-nightly.yml index df384ee9c9..c7482de780 100644 --- a/.goreleaser-nightly.yml +++ b/.goreleaser-nightly.yml @@ -27,6 +27,20 @@ builds: goarch: arm - goos: windows goarch: arm64 + ignore: + - goos: windows + goarch: arm + - goos: windows + goarch: arm64 + overrides: + - goos: darwin + goarch: arm64 + ldflags: + - -X github.com/evcc-io/evcc/server.Version={{ .Tag }} -X github.com/evcc-io/evcc/server.Commit={{ .ShortCommit }} -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={{ .Tag }} -X github.com/evcc-io/evcc/server.Commit={{ .ShortCommit }} -X github.com/evcc-io/evcc/vehicle/tesla.TESLA_CLIENT_ID={{ .Env.TESLA_CLIENT_ID }} -s -w -B gobuildid archives: - builds: