Add an exe extension to windows binary during cross build.

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
Silvin Lubecki 2020-02-27 15:34:23 +01:00
parent c3b48c5c9c
commit 40aa020534
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ export GOOS=windows
export GOARCH=amd64
# Override TARGET
TARGET="build/docker-$GOOS-$GOARCH"
TARGET="build/docker-$GOOS-$GOARCH.exe"
echo "Generating windows resources"
go generate ./cli/winresources