From 2ded63ea0371dd4afb1f0dee29aec775ffa2006a Mon Sep 17 00:00:00 2001 From: Victor Vrantchan Date: Mon, 16 Apr 2018 17:47:10 -0400 Subject: [PATCH] add pre-fleet to binary bundle and fix typo --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e263881f4..505d6927b 100644 --- a/Makefile +++ b/Makefile @@ -202,11 +202,11 @@ demo-restore: -h ${MYSQL_PORT_3306_TCP_ADDR} kolide \ < ./tools/app/demo.sql -binary-bundle: generate +binary-bundle: generate .pre-fleet rm -rf build/binary-bundle mkdir -p build/binary-bundle/linux mkdir -p build/binary-bundle/darwin GOOS=linux go build -i -o build/binary-bundle/linux/${OUTPUT}_linux_amd64 -ldflags ${KIT_VERSION} ./cmd/fleet GOOS=darwin go build -i -o build/binary-bundle/darwin/${OUTPUT}_darwin_amd64 -ldflags ${KIT_VERSION} ./cmd/fleet cd build/binary-bundle && zip -r "fleet_${VERSION}.zip" darwin/ linux/ - cp build/binary-bundle/fleet_${VERSION}.zip build/binary-bundle/fleet_lastest.zip + cp build/binary-bundle/fleet_${VERSION}.zip build/binary-bundle/fleet_latest.zip