Add update check to build (#19)

* Remove armv7 temporarily

* Improve build script

* Add update check for build

* Update README

* Fix build script

* Change build version format

* Improve update check

* Bump build version to v1.5.4

* Fix build Dockerfile

* Fix build action yaml

Co-authored-by: GitHub Actions <actions@github.com>
This commit is contained in:
Xiaonan Shen
2021-01-07 18:19:11 +08:00
committed by GitHub
parent bde4667ff4
commit 2647f8540e
8 changed files with 78 additions and 59 deletions

View File

@@ -23,6 +23,6 @@ RUN apt-get update \
COPY gpgparams entrypoint.sh /protonmail/
# Copy protonmail
COPY --from=build /build/proton-bridge/Desktop-Bridge /protonmail/
COPY --from=build /build/proton-bridge/proton-bridge /protonmail/
ENTRYPOINT ["bash", "/protonmail/entrypoint.sh"]

View File

@@ -1 +1 @@
1.4.5
v1.5.4

View File

@@ -7,10 +7,7 @@ VERSION=`cat VERSION`
# Clone new code
git clone https://github.com/ProtonMail/proton-bridge.git
cd proton-bridge
git checkout br-$VERSION
# Enable debug log
sed -i "s/build desktop/-debug build desktop/" Makefile
git checkout $VERSION
# Build
make build-nogui