Agrega release instructions a AGENTS.md, version 1.0.0+2

This commit is contained in:
Super User
2026-06-17 20:46:03 -04:00
parent 9553461f44
commit 5b24a79d5a
2 changed files with 15 additions and 2 deletions

View File

@@ -87,7 +87,20 @@ Always use `CurrencyUtils` instead of hardcoding symbols:
- Running as root causes flutter warnings but doesn't break builds
- Flutter 3.27.4 has known warnings about x86 target deprecation
## Release a Play Store update
1. **Version**: bump `version:` in `pubspec.yaml` (e.g. `1.0.0+1``1.0.0+2`)
2. **Build AAB**: `export JAVA_HOME=/root/.sdkman/candidates/java/21.0.11-amzn && /opt/flutter/bin/flutter build appbundle --release`
3. **Native debug symbols** (required by Play Console):
```bash
cd build/app/intermediates/merged_native_libs/release/mergeReleaseNativeLibs/out/lib
zip -r /var/www/android/hogarcontrol/build/app/outputs/bundle/release/native-debug-symbols.zip .
```
Structure: `<abi>/libapp.so`, `<abi>/libflutter.so` — no `lib/` wrapper dir.
4. Upload to Play Console:
- **App Bundle**: `build/app/outputs/bundle/release/app-release.aab`
- **Native debug symbols**: `build/app/outputs/bundle/release/native-debug-symbols.zip`
## Remote
- Origin: `https://git.devlab.lat/android/home-control.git`
- Credentials: `agent` + token `b453c4526d9b4857f1263c9a80514488`