From 12e179dafd214362aa48fdf729310f9e7c6d577f Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 3 Oct 2017 00:54:23 +0200 Subject: [pkg] pin pyinstaller version Also, allow to pass a different repo to the build-in-docker script. - Resolves: #9089 --- pkg/docker_build | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'pkg/docker_build') diff --git a/pkg/docker_build b/pkg/docker_build index 192ae58..9669a87 100644 --- a/pkg/docker_build +++ b/pkg/docker_build @@ -1,7 +1,10 @@ -git clone https://github.com/leapcode/bitmask-dev bitmaskbuild -mkdir -p dist/ +: ${REPO:="https://github.com/leapcode/bitmask-dev"} +: ${BRANCH:="master"} + +RELEASE=bitmask-`cat pkg/next-version` +echo "[+] CLONING REPO from $REPO [$BRANCH]" +git clone $REPO bitmaskbuild cd bitmaskbuild +git checkout $BRANCH +mkdir -p dist/ pkg/build_bundle_with_venv.sh - -cp -r bitmaskbuild/dist/ dist/ -rm -rf bitmaskbuild -- cgit v1.2.3