Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a50f500 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

chore: bump fake new version number for QA

parent 4019c578
Loading
Loading
Loading
Loading
Loading

build-sign-and-push.sh

0 → 100755
+29 −0
Original line number Diff line number Diff line
SENTRY_DSN="https://fd0eead36aa548a9ac4a97c1888dc50c@o4504355828924416.ingest.sentry.io/4504355892101120"

./gradlew :app:k9mail:build -x test

echo "mail built"

sleep 1

SENTRY_DSN="dummy"
SIGNKEY="../android_build/target/product/security/platform.pk8"
SIGNCERT="../android_build/target/product/security/platform.x509.pem"
SIGNEDAPK="mail-signed.apk"
UNSIGNEDAPK="app/k9mail/build/outputs/apk/release/*.apk"


apksigner sign --key $SIGNKEY --cert $SIGNCERT --out $SIGNEDAPK $UNSIGNEDAPK

echo "APK SIGNED"

sleep 1

adb install $SIGNEDAPK 

echo "FINISHED"

rm mail-signed.apk 
rm mail-signed.apk.idsig

echo "APK removed"
 No newline at end of file