From b67384912620d182d8b724bda0f4d24d1531e0c0 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Mon, 3 Aug 2020 13:46:30 -0300 Subject: Try to get fdroid nightly command to pick up our release builds --- cashier/.gitlab-ci.yml | 2 ++ merchant-terminal/.gitlab-ci.yml | 2 ++ wallet/.gitlab-ci.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/cashier/.gitlab-ci.yml b/cashier/.gitlab-ci.yml index cbf2bf0..6330c91 100644 --- 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 index 470cb58..3e13fcc 100644 --- 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 index 42f561d..67de977 100644 --- 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 -- cgit v1.2.3