The APK is no longer built by building the docker image but by running the docker container. The docker image only provides a build environment for fairemail and is re-usable across multiple builds.master
parent
06aa609fb5
commit
be1d7c90bc
@ -0,0 +1,23 @@ |
||||
#!/bin/sh |
||||
|
||||
set -eu |
||||
|
||||
VERSION=$1 |
||||
KEYSTORE_FILE=$2 |
||||
KEYSTORE_PROPERTIES=$3 |
||||
|
||||
curl -OL https://github.com/M66B/FairEmail/archive/$VERSION.tar.gz |
||||
tar xvzf $VERSION.tar.gz |
||||
|
||||
cd FairEmail-$VERSION |
||||
|
||||
echo $KEYSTORE_FILE | base64 -d > keystore.jks |
||||
echo $KEYSTORE_PROPERTIES | base64 -d > keystore.properties |
||||
|
||||
for patch in /patches/*; do |
||||
patch -p0 < $patch |
||||
done |
||||
|
||||
gradle --no-daemon assemble |
||||
|
||||
cp app/build/outputs/apk/github/release/FairEmail-v$VERSION-github-release.apk /apk |
||||
Loading…
Reference in new issue