From 4ae30ee8e6a21167d5a585d9945a72a6135f2401 Mon Sep 17 00:00:00 2001 From: SkateSpots Date: Fri, 30 Oct 2026 23:07:42 +0700 Subject: [PATCH] dist: prepare unsigned F-Droid build output --- distribution/fdroiddata/org.skatespots.app.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/distribution/fdroiddata/org.skatespots.app.yml b/distribution/fdroiddata/org.skatespots.app.yml index f85079a..da7856a 100644 --- a/distribution/fdroiddata/org.skatespots.app.yml +++ b/distribution/fdroiddata/org.skatespots.app.yml @@ -34,9 +34,12 @@ Builds: - npm ci - npm run android:init - npm run android:sync + # F-Droid signs the APK itself. Remove the developer signing config so + # Gradle emits an unsigned release APK instead of requiring the keystore. + - sed -i '/signingConfig signingConfigs.release/d' android/app/build.gradle build: - cd android && ./gradlew assembleRelease --no-daemon - output: android/app/build/outputs/apk/release/app-release.apk + output: android/app/build/outputs/apk/release/app-release-unsigned.apk # The generated Android project is intentionally not committed. This # recipe recreates it with Capacitor before Gradle runs. F-Droid will sign # the resulting APK with its own key. The F-Droid buildserver supplies the