From 9dfef1945100a9a4cb1a1d297f8b72f8cfbb64b5 Mon Sep 17 00:00:00 2001 From: Piotr Stankiewicz Date: Fri, 4 Apr 2025 15:53:01 +0200 Subject: [PATCH] Make sure we add an *.exe when building for Windows Signed-off-by: Piotr Stankiewicz --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 370c2233..ae1c9341 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ release: fi @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) . + 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 . @echo "Release build complete: $(PLUGIN_NAME) version '$(VERSION)'" clean: