: ${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