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