mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-22 16:18:08 +00:00
1.4 KiB
1.4 KiB
OpenClaw Android Versioning
Android release builds use pinned app metadata instead of auto-bumping build.gradle.kts.
Version model
apps/android/version.jsonis the source of truth.versionis the PlayversionNameand uses CalVer:YYYY.M.D.versionCodeusesYYYYMMDDNN, whereNNis a two-digit build number for that pinned app version.apps/android/Config/Version.propertiesis generated fromversion.jsonand read by Gradle.
Examples:
version = 2026.6.2versionCode = 2026060201- another upload on the same release train:
versionCode = 2026060202
Commands
pnpm android:version
pnpm android:version:check
pnpm android:version:sync
pnpm android:version:pin -- --from-gateway
pnpm android:version:pin -- --version 2026.6.5 --version-code 2026060501
Release Workflow
- Pin Android to the intended release version.
- Run
pnpm android:version:sync. - Update
apps/android/fastlane/metadata/android/en-US/release_notes.txt. - Run
pnpm android:screenshotsto refresh raw Google Play screenshots. - Run
pnpm android:release:archiveto produce the signed Play AAB and third-party APK. - Run
pnpm android:release:uploadto upload metadata, screenshots, and the Play AAB to Google Play internal testing. - Promote to production manually in Google Play Console.
The third-party flavor is archived as a signed APK for non-Play distribution. It is not uploaded by the Play release lane.