From 4585ce33bd2840ee0c8719443bf44a7b56cd6697 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Wed, 18 Jan 2017 12:05:46 -0500 Subject: [PATCH] in teamcity, create packages for all platforms --- build.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 74f30cc16..b1616c57b 100755 --- a/build.sh +++ b/build.sh @@ -40,6 +40,9 @@ cp -R "$ROOT/lbry-web-ui/dist" "$ROOT/electron/" mv "$ROOT/lbrynet/dist/lbry" "$ROOT/electron/dist" -electron-packager --electron-version=1.4.14 --overwrite "$ROOT/electron" LBRY - -echo 'Build complete. Run `electron electron` to launch the app' +if [ -n "${TEAMCITY_VERSION:-}" ]; then + electron-packager --electron-version=1.4.14 --all --overwrite "$ROOT/electron" LBRY + echo 'Build and packaging complete.' +else + echo 'Build complete. Run `electron electron` to launch the app' +fi