forked from tchapgouv/tchap-android-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_btchap_apk.sh
executable file
·20 lines (12 loc) · 1.26 KB
/
build_btchap_apk.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
rm *.apk
./gradlew clean
output="vector/build/outputs/apk"
# Google Play | Preprod | Without Voip | Without Pinning
./gradlew assembleAppPreprodWithoutvoipWithoutpinningMatrixorg; cp ${output}/AppPreprodWithoutvoipWithoutpinning/matrixorg/vector-app-preprod-withoutvoip-withoutpinning-matrixorg.apk ./tchapPreprodWithoutVoipGooglePlay.apk
# Google Play | Preprod | With Voip | Without Pinning
./gradlew assembleAppPreprodWithvoipWithoutpinningMatrixorg; cp ${output}/AppPreprodWithvoipWithoutpinning/matrixorg/vector-app-preprod-withvoip-withoutpinning-matrixorg.apk ./tchapPreprodWithVoipGooglePlay.apk
# FDroid | Preprod | Without Voip | Without Pinning
./gradlew assembleAppfdroidPreprodWithoutvoipWithoutpinningMatrixorg; cp ${output}/AppfdroidPreprodWithoutvoipWithoutpinning/matrixorg/vector-appfdroid-preprod-withoutvoip-withoutpinning-matrixorg.apk ./tchapPreprodWithoutVoipFDroid.apk
# FDroid | Preprod | With Voip | Without Pinning
./gradlew assembleAppfdroidPreprodWithvoipWithoutpinningMatrixorg; cp ${output}/AppfdroidPreprodWithvoipWithoutpinning/matrixorg/vector-appfdroid-preprod-withvoip-withoutpinning-matrixorg.apk ./tchapPreprodWithVoipFDroid.apk