diff --git a/PIXEL_10.md b/PIXEL_10.md index bde3e945..8320c604 100644 --- a/PIXEL_10.md +++ b/PIXEL_10.md @@ -32,7 +32,8 @@ the generated assets and native runtime, then run: melos run build-browser-pixel10 --no-select ``` -The command produces: +The command asks Flutter for a split ARM64 artifact, verifies that no other +ABI is packaged, and publishes it under the stable path: ```text apps/weblibre/build/app/outputs/flutter-apk/app-pixel10-release.apk diff --git a/pubspec.yaml b/pubspec.yaml index 128f9763..7d40c2e6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -111,5 +111,8 @@ melos: run: | set -e cd apps/weblibre - flutter build apk --release --flavor pixel10 --target-platform android-arm64 --no-tree-shake-icons + flutter build apk --release --flavor pixel10 --target-platform android-arm64 --split-per-abi --no-tree-shake-icons + arm64_apk="$(find build/app/outputs/flutter-apk -maxdepth 1 -type f -name '*pixel10*' -name '*arm64-v8a*' -name '*release.apk' -print -quit)" + test -n "$arm64_apk" + mv "$arm64_apk" build/app/outputs/flutter-apk/app-pixel10-release.apk ../../scripts/verify-pixel10-apk.sh build/app/outputs/flutter-apk/app-pixel10-release.apk