Agrega release instructions a AGENTS.md, version 1.0.0+2
This commit is contained in:
15
AGENTS.md
15
AGENTS.md
@@ -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`
|
||||
|
||||
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.0.0+1
|
||||
version: 1.0.0+2
|
||||
|
||||
environment:
|
||||
sdk: ^3.6.2
|
||||
|
||||
Reference in New Issue
Block a user