diff options
author | Kali Kaneko <kali@leap.se> | 2017-10-03 00:54:23 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2017-10-03 02:50:15 +0200 |
commit | 12e179dafd214362aa48fdf729310f9e7c6d577f (patch) | |
tree | e56e33e83edf7a1e0923ffc8e281027e2464f932 /pkg/docker_build | |
parent | 93c5426f7979ab20202ec5cc0c81c805103a4439 (diff) |
[pkg] pin pyinstaller version
Also, allow to pass a different repo to the build-in-docker script.
- Resolves: #9089
Diffstat (limited to 'pkg/docker_build')
-rw-r--r-- | pkg/docker_build | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkg/docker_build b/pkg/docker_build index 192ae587..9669a87f 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 |