Skip to content

Commit 91220cb

Browse files
committed
android: archive release artifacts from pinned version
1 parent 40eec48 commit 91220cb

4 files changed

Lines changed: 226 additions & 168 deletions

File tree

‎apps/android/README.md‎

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ cd apps/android
3232
./gradlew :app:installPlayDebug
3333
./gradlew :app:testPlayDebugUnitTest
3434
cd ../..
35-
bun run android:bundle:release
35+
pnpm android:release:archive
3636
```
3737

3838
Third-party debug flavor:
@@ -44,10 +44,21 @@ cd apps/android
4444
./gradlew :app:testThirdPartyDebugUnitTest
4545
```
4646

47-
`bun run android:bundle:release` auto-bumps Android `versionName`/`versionCode` in `apps/android/app/build.gradle.kts`, then builds two signed release bundles:
47+
Android release archives use the pinned version in `apps/android/version.json`. Update it with:
4848

49-
- Play build: `apps/android/build/release-bundles/openclaw-<version>-play-release.aab`
50-
- Third-party build: `apps/android/build/release-bundles/openclaw-<version>-third-party-release.aab`
49+
```bash
50+
pnpm android:version
51+
pnpm android:version:check
52+
pnpm android:version:pin -- --from-gateway
53+
pnpm android:version:pin -- --version 2026.6.5 --version-code 2026060501
54+
```
55+
56+
`pnpm android:release:archive` builds signed release artifacts into `apps/android/build/release-artifacts/` and writes `.sha256` checksum files:
57+
58+
- Play build: `openclaw-<version>-play-release.aab`
59+
- Third-party build: `openclaw-<version>-third-party-release.apk`
60+
61+
`pnpm android:bundle:release` is an alias for the same archive helper.
5162

5263
Flavor-specific direct Gradle tasks:
5364

‎apps/android/scripts/build-release-aab.ts‎

Lines changed: 0 additions & 163 deletions
This file was deleted.

0 commit comments

Comments
 (0)