build: target API 36 and sign Play upload bundles
CI / build (push) Failing after 33s

- compileSdk/targetSdk 36: Google Play rejects new apps below API 36 since
  31 August 2026.
- Release signing from ANDROID_KEYSTORE_* environment variables or
  local.properties; unsigned when no upload key is configured.
- versionCode/versionName overridable via VERSION_CODE/VERSION_NAME.
- scripts/build-release-aab.sh builds and verifies a signed AAB.
- CI installs platform 36 until the CI image is rebuilt.
- Document the internal-testing upload flow.
This commit is contained in:
TapTap committed 2026-11-15 18:39:24 +00:00
1 parent 43bd9629d3
commit 9b105b3925
6 files changed
+179 -10

No files matched your search

+10
View File
@@ -25,6 +25,16 @@ jobs:
with:
persist-credentials: false
# The app targets API 36, which Play requires for new uploads. The CI
# image still ships API 35, so install 36 on demand until it is rebuilt.
- name: Ensure Android SDK 36
run: |
set -euo pipefail
if [ ! -d "$ANDROID_HOME/platforms/android-36" ]; then
yes | "$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" \
"platforms;android-36" "build-tools;36.0.0" >/dev/null
fi
- name: Test and build
run: |
set -euo pipefail