From a688472e0cd946eed554c8e9fb8747c7ccc22908 Mon Sep 17 00:00:00 2001 From: Piotr Stankiewicz Date: Wed, 23 Apr 2025 13:43:53 +0200 Subject: [PATCH] Build for windows/arm64 in 'make release' Signed-off-by: Piotr Stankiewicz --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index cbe85dec..35651a70 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ release: @echo "Building release version '$(VERSION)'..." GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w -X github.com/docker/model-cli/commands.Version=$(VERSION)" -o dist/darwin-arm64/$(PLUGIN_NAME) . GOOS=windows GOARCH=amd64 go build -ldflags="-s -w -X github.com/docker/model-cli/commands.Version=$(VERSION)" -o dist/windows-amd64/$(PLUGIN_NAME).exe . + GOOS=windows GOARCH=arm64 go build -ldflags="-s -w -X github.com/docker/model-cli/commands.Version=$(VERSION)" -o dist/windows-arm64/$(PLUGIN_NAME).exe . @echo "Release build complete: $(PLUGIN_NAME) version '$(VERSION)'" mock: