build: local Android release pipeline (sub-project 6d) #8
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sub-project 6d: release builds with Gradle on the dev machine, no EAS.
plugins/with-release-signing.js(Expo config plugin, runs at prebuild sinceandroid/is generated and ignored): derivesversionCodefromversion(major * 10000 + minor * 100 + patch), signs the release build type with the keystore named inandroid/keystore.properties(debug keystore otherwise, soexpo run:androidstill builds), and allows cleartext HTTP only outsideROLLNOTE_RELEASE=1. This replaces the expo-build-properties setting, which is removed.scripts/release-android.sh(pnpm release:android): checks the versions and the clean tree, prebuilds with the release settings, runsgradlew bundleRelease assembleRelease, leavesdist/rollnote-<version>.aaband.apk.docs/release.md: one-time upload keystore and Play Console steps, the per-release checklist, what a release build differs in. Crash reporting: none, Play vitals.Verified locally with a throwaway keystore: prebuild yields versionCode 900 / versionName 0.9.0, cleartext false in release and true in dev;
assembleReleaseproduced a signed APK (certificate checked with apksigner) that installs and launches on the emulator.