aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-08-03 13:46:30 -0300
committerTorsten Grote <t@grobox.de>2020-08-03 13:46:30 -0300
commitb67384912620d182d8b724bda0f4d24d1531e0c0 (patch)
treed714095e7db74324fe070244920b5df0bc473da2
parent5b1163311192e9adf15ef3d626c72812e638f90c (diff)
downloadtaler-android-b67384912620d182d8b724bda0f4d24d1531e0c0.tar.gz
taler-android-b67384912620d182d8b724bda0f4d24d1531e0c0.tar.bz2
taler-android-b67384912620d182d8b724bda0f4d24d1531e0c0.zip
Try to get fdroid nightly command to pick up our release builds
-rw-r--r--cashier/.gitlab-ci.yml2
-rw-r--r--merchant-terminal/.gitlab-ci.yml2
-rw-r--r--wallet/.gitlab-ci.yml2
3 files changed, 6 insertions, 0 deletions
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