From 0d0ebf8c7f6e3f2c011b8b5ea37dc3970eb70f9f Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Fri, 22 Jul 2016 11:22:55 -0700 Subject: [PATCH] added .exe to windows binaries --- build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index c49488be..52ba0bec 100755 --- a/build.sh +++ b/build.sh @@ -75,8 +75,13 @@ package(){ bdir=tile38-${VERSION}-$2-$3 rm -rf packages/$bdir && mkdir -p packages/$bdir GOOS=$2 GOARCH=$3 ./build.sh - mv tile38-server packages/$bdir - mv tile38-cli packages/$bdir + if [ "$2" == "windows" ]; then + mv tile38-server packages/$bdir/tile38-server.exe + mv tile38-cli packages/$bdir/tile38-cli.exe + else + mv tile38-server packages/$bdir + mv tile38-cli packages/$bdir + fi cp README.md packages/$bdir cd packages if [ "$2" == "linux" ]; then