diff options
author | Kali Kaneko <kali@leap.se> | 2018-02-14 02:05:22 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2018-02-15 16:36:54 +0100 |
commit | d39adbba2883697fd5b7ec69b46cafd535efe021 (patch) | |
tree | f2b65c7c7308a51fdd10ea9816f1b807bcc9e4de /pkg/docker_build_riseupvpn | |
parent | 48957fb436cf7238a494b9861ed5433169538d86 (diff) |
[pkg] add target for anonvpn bundles
Diffstat (limited to 'pkg/docker_build_riseupvpn')
-rw-r--r-- | pkg/docker_build_riseupvpn | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkg/docker_build_riseupvpn b/pkg/docker_build_riseupvpn index 4cffcb49..ab859c27 100644 --- a/pkg/docker_build_riseupvpn +++ b/pkg/docker_build_riseupvpn @@ -7,24 +7,29 @@ # build bitmask-systray export GOPATH=/srv/go +echo "[+] Building deps for bitmask-systray..." go get 0xacab.org/leap/bitmask-systray cd /src/leap && git clone https://0xacab.org/leap/bitmask-systray cd bitmask-systray && go build . - 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 +RELEASE=bitmask-`cat pkg/next-version` +echo "[+] RELEASE: $RELEASE" git checkout $BRANCH git fetch --tags mkdir -p dist/ # nuke mail rm -rf src/leap/bitmask/mail + +# get anonvpn bundle +VIRTUAL_ENV=/usr/local make bundle_anonvpn_linux +# copy systray binary cp /src/leap/bitmask-systray/bitmask-systray dist/${RELEASE}/lib/ -VIRTUAL_ENV=/usr/local make bundle_linux +# rename entrypoing +mv dist/${RELEASE}/bitmask dist/${RELEASE}/riseupvpn cp -r dist/* /dist - |