summaryrefslogtreecommitdiff
path: root/pkg/docker_build
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/docker_build')
-rw-r--r--pkg/docker_build13
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