mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-13 18:26:04 +00:00
2.4 KiB
2.4 KiB
fastlane setup (OpenClaw Android)
Install:
brew install fastlane
Create a Google Play service account JSON key with Google Play Developer API access, then grant that service account access to the OpenClaw app in Play Console.
Recommended local auth:
GOOGLE_PLAY_JSON_KEY=/absolute/path/to/google-play-service-account.json
Optional app targeting:
GOOGLE_PLAY_PACKAGE_NAME=ai.openclaw.app
Validate auth:
cd apps/android
fastlane android auth_check
Archive locally without upload:
pnpm android:release:archive
Generate deterministic Google Play screenshots:
pnpm android:screenshots
Upload metadata, release notes, and the Play AAB to the internal testing track:
pnpm android:release:upload
Direct Fastlane entry point:
cd apps/android
fastlane android release_upload
Release rules:
apps/android/version.jsonis the pinned Android release version source.apps/android/Config/Version.propertiesis generated from that source and read by Gradle.- Supported pinned Android versions use CalVer:
YYYY.M.D. versionCodeusesYYYYMMDDNN, whereNNis a two-digit build number for the pinned version.pnpm android:version:pin -- --from-gatewaypromotes the current root gateway version into the pinned Android release version.pnpm android:version:pin -- --version 2026.6.5 --version-code 2026060502increments another build on the same Android release train.pnpm android:version:syncupdates generated version artifacts.pnpm android:version:checkvalidates checked-in Android version artifacts.pnpm android:screenshotsbuilds and installs the Play debug app, launches deterministic screenshot scenes, and captures raw PNGs.pnpm android:release:archivebuilds the signed Play AAB and third-party APK intoapps/android/build/release-artifacts/.pnpm android:release:uploaduploads the Play AAB to the configured Google Play track. The default track isinternal.- Production promotion remains manual in Google Play Console.
Screenshots:
- Android screenshot capture writes raw Play screenshots under
apps/android/fastlane/metadata/android/<locale>/images/phoneScreenshots/. - Set
SUPPLY_UPLOAD_SCREENSHOTS=1to include those screenshots infastlane android metadata. - Do not commit generated screenshot captures unless they become intentional store metadata assets.