From 5b24a79d5a2f9d5dbd3d5887f405a5606d05f6e4 Mon Sep 17 00:00:00 2001 From: Super User Date: Wed, 17 Jun 2026 20:46:03 -0400 Subject: [PATCH] Agrega release instructions a AGENTS.md, version 1.0.0+2 --- AGENTS.md | 15 ++++++++++++++- pubspec.yaml | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 722f850..c3a64f1 100644 --- a/AGENTS.md +++ b/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: `/libapp.so`, `/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` diff --git a/pubspec.yaml b/pubspec.yaml index efac8aa..89b8006 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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