android: archive release artifacts from pinned version · openclaw/openclaw@91220cb
joshavant
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -32,7 +32,7 @@ cd apps/android
|
32 | 32 | ./gradlew :app:installPlayDebug |
33 | 33 | ./gradlew :app:testPlayDebugUnitTest |
34 | 34 | cd ../.. |
35 | | -bun run android:bundle:release |
| 35 | +pnpm android:release:archive |
36 | 36 | ``` |
37 | 37 | |
38 | 38 | Third-party debug flavor: |
@@ -44,10 +44,21 @@ cd apps/android
|
44 | 44 | ./gradlew :app:testThirdPartyDebugUnitTest |
45 | 45 | ``` |
46 | 46 | |
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: |
48 | 48 | |
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. |
51 | 62 | |
52 | 63 | Flavor-specific direct Gradle tasks: |
53 | 64 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。