# This script gets executed inside the docker-bundler-apt image. # (no virtualenv, so all the dependencies must be already installed in the image). : ${REPO:="https://github.com/leapcode/bitmask-dev"} : ${BRANCH:="master"} cd /src/leap/bitmask-dev RELEASE=bitmask-`cat pkg/next-version` cd $HOME echo "[+] CLONING REPO from $REPO [$BRANCH]" git clone $REPO bitmaskbuild cd bitmaskbuild git checkout $BRANCH git fetch --tags pip uninstall --yes leap.bitmask pip install -e . mkdir -p dist/ VIRTUAL_ENV=/usr/local make bundle_linux cp -r dist/* /dist echo "[+] DONE"