diff options
author | Kali Kaneko <kali@leap.se> | 2018-02-15 17:32:28 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2018-02-15 17:32:28 +0100 |
commit | 0388014636ce25fd1786c8bb79727dd643604f11 (patch) | |
tree | 38a8c9553488e5cce07dc444efdc5e4145c66f75 /pkg/bundle_from_docker | |
parent | 16e8c9179b15f10570670e6068f87357427fd12b (diff) |
[pkg] rename bundling scripts to add clarity
Diffstat (limited to 'pkg/bundle_from_docker')
-rw-r--r-- | pkg/bundle_from_docker | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/bundle_from_docker b/pkg/bundle_from_docker new file mode 100644 index 00000000..1d87b4e1 --- /dev/null +++ b/pkg/bundle_from_docker @@ -0,0 +1,24 @@ +# 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" |