protonmail-bridge-nextcoud-.../build/build.sh

17 lines
262 B
Bash
Raw Normal View History

2020-06-01 13:51:24 +00:00
#!/bin/bash
set -ex
VERSION=`cat VERSION`
# Clone new code
git clone https://github.com/ProtonMail/proton-bridge.git
cd proton-bridge
2020-06-01 14:51:40 +00:00
git checkout v$VERSION
2020-06-01 13:51:24 +00:00
# Enable debug log
sed -i "s/build desktop/-debug build desktop/" Makefile
# Build
make build-nogui