commit b67384912620d182d8b724bda0f4d24d1531e0c0
parent 5b1163311192e9adf15ef3d626c72812e638f90c
Author: Torsten Grote <t@grobox.de>
Date: Mon, 3 Aug 2020 13:46:30 -0300
Try to get fdroid nightly command to pick up our release builds
Diffstat:
3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/cashier/.gitlab-ci.yml b/cashier/.gitlab-ci.yml
@@ -37,6 +37,8 @@ cashier_deploy_nightly:
- sed -i "s,^\(\s*applicationId\) \"*[a-z\.].*\",\1 \"net.taler.cashier.nightly\"," cashier/build.gradle
# Build the APK
- ./gradlew :cashier:assembleRelease
+ # Rename APK, so fdroid nightly accepts it (looks for *-debug.apk)
+ - mv cashier/build/outputs/apk/release/*.apk cashier-debug.apk
# START only needed while patch not accepted/released upstream
- apt update && apt install patch
- patch /usr/lib/python3/dist-packages/fdroidserver/nightly.py nightly-stats.patch
diff --git a/merchant-terminal/.gitlab-ci.yml b/merchant-terminal/.gitlab-ci.yml
@@ -39,6 +39,8 @@ merchant_deploy_nightly:
- sed -i "s,^\(\s*applicationId\) \"*[a-z\.].*\",\1 \"net.taler.merchantpos.nightly\"," merchant-terminal/build.gradle
# Build the APK
- ./gradlew :merchant-terminal:assembleRelease
+ # Rename APK, so fdroid nightly accepts it (looks for *-debug.apk)
+ - mv merchant-terminal/build/outputs/apk/release/*.apk merchant-terminal-debug.apk
# START only needed while patch not accepted/released upstream
- apt update && apt install patch
- patch /usr/lib/python3/dist-packages/fdroidserver/nightly.py nightly-stats.patch
diff --git a/wallet/.gitlab-ci.yml b/wallet/.gitlab-ci.yml
@@ -26,6 +26,8 @@ wallet_deploy_nightly:
- test -z "$DEBUG_KEYSTORE" && exit 0
# Build the APK
- ./gradlew :wallet:assembleNightlyRelease
+ # Rename APK, so fdroid nightly accepts it (looks for *-debug.apk)
+ - mv wallet/build/outputs/apk/nightly/release/*.apk wallet-debug.apk
# START only needed while patch not accepted/released upstream
- apt update && apt install patch
- patch -b /usr/lib/python3/dist-packages/fdroidserver/nightly.py nightly-stats.patch