chore(release): prep v0.1.10 — harden play vs jcenter/OOM, point recipe at v0.1.10
Some checks failed
ci / test-commons-core (push) Successful in 56s
ci / analyze (push) Successful in 1m47s
site / deploy (push) Successful in 34s
ci / test-app-seeds (push) Has been cancelled

- play job: apply the same two fixes the fdroid recipe uses (strip
  flutter_tesseract_ocr's dead-jcenter buildscript; cap Gradle heap to
  -Xmx4g + no daemon) so a cold-cache production AAB build can't hit
  either blocker. play builds the AAB directly, not via the recipe, so
  it was still exposed.
- pubspec: 0.1.9+11 -> 0.1.10+12.
- fdroid recipe: versionName 0.1.10, versionCodes 121/122/123,
  commit v0.1.10, CurrentVersion(Code) 0.1.10/123. binary: uses %v so
  it resolves to the v0.1.10 release assets the tag build will upload.

The v0.1.10 tag is intentionally NOT cut here: cutting it deploys to
Google Play PRODUCTION (100%) and uploads the 3 signed reference APKs.
This commit is contained in:
vjrj 2026-07-21 19:12:11 +02:00
parent e4c62f2b56
commit 1b439e9499
3 changed files with 19 additions and 12 deletions

View file

@ -61,6 +61,13 @@ jobs:
working-directory: apps/app_seeds working-directory: apps/app_seeds
run: | run: |
flutter pub get flutter pub get
# Same two hardenings the fdroid recipe applies (this job builds the AAB
# directly, not via the recipe, so a cold cache is still exposed):
# 1) strip flutter_tesseract_ocr's dead-jcenter buildscript (AGP 7.1.2) so
# it inherits the app's AGP instead of hitting jcenter.bintray.com;
# 2) cap the Gradle heap so the build fits the shared CI host's RAM.
find "${PUB_CACHE:-$HOME/.pub-cache}" -path '*flutter_tesseract_ocr-*/android/build.gradle' -exec sed -i '/^buildscript {/,/^}/d' {} +
printf 'org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g\norg.gradle.daemon=false\n' >> android/gradle.properties
dart run slang dart run slang
dart run build_runner build --delete-conflicting-outputs dart run build_runner build --delete-conflicting-outputs

View file

@ -1,7 +1,7 @@
name: tane name: tane
description: "Tane — local-first, encrypted, decentralized traditional-seed inventory and market." description: "Tane — local-first, encrypted, decentralized traditional-seed inventory and market."
publish_to: 'none' publish_to: 'none'
version: 0.1.9+11 version: 0.1.10+12
environment: environment:
sdk: ^3.11.5 sdk: ^3.11.5

View file

@ -22,9 +22,9 @@ Repo: https://git.comunes.org/comunes/tane.git
AllowedAPKSigningKeys: ddfae432091b8248a8a4a1b353487fa626301f4357ef835e94ec312f69418e38 AllowedAPKSigningKeys: ddfae432091b8248a8a4a1b353487fa626301f4357ef835e94ec312f69418e38
Builds: Builds:
- versionName: 0.1.9 - versionName: 0.1.10
versionCode: 111 versionCode: 121
commit: v0.1.9 commit: v0.1.10
subdir: apps/app_seeds subdir: apps/app_seeds
output: build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk output: build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk
binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-armeabi-v7a-release.apk binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-armeabi-v7a-release.apk
@ -58,9 +58,9 @@ Builds:
$PUB_CACHE/hosted/pub.dev/flutter_tesseract_ocr-0.4.31/android/libs/tesseract4android-release.aar $PUB_CACHE/hosted/pub.dev/flutter_tesseract_ocr-0.4.31/android/libs/tesseract4android-release.aar
- $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform=android-arm - $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform=android-arm
- versionName: 0.1.9 - versionName: 0.1.10
versionCode: 112 versionCode: 122
commit: v0.1.9 commit: v0.1.10
subdir: apps/app_seeds subdir: apps/app_seeds
output: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk output: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk
binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-arm64-v8a-release.apk binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-arm64-v8a-release.apk
@ -94,9 +94,9 @@ Builds:
$PUB_CACHE/hosted/pub.dev/flutter_tesseract_ocr-0.4.31/android/libs/tesseract4android-release.aar $PUB_CACHE/hosted/pub.dev/flutter_tesseract_ocr-0.4.31/android/libs/tesseract4android-release.aar
- $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform=android-arm64 - $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform=android-arm64
- versionName: 0.1.9 - versionName: 0.1.10
versionCode: 113 versionCode: 123
commit: v0.1.9 commit: v0.1.10
subdir: apps/app_seeds subdir: apps/app_seeds
output: build/app/outputs/flutter-apk/app-x86_64-release.apk output: build/app/outputs/flutter-apk/app-x86_64-release.apk
binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-x86_64-release.apk binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-x86_64-release.apk
@ -138,5 +138,5 @@ VercodeOperation:
- '%c * 10 + 3' - '%c * 10 + 3'
UpdateCheckData: UpdateCheckData:
apps/app_seeds/pubspec.yaml|version:\s*[\d.]+\+(\d+)|apps/app_seeds/pubspec.yaml|version:\s*([\d.]+)\+ apps/app_seeds/pubspec.yaml|version:\s*[\d.]+\+(\d+)|apps/app_seeds/pubspec.yaml|version:\s*([\d.]+)\+
CurrentVersion: 0.1.9 CurrentVersion: 0.1.10
CurrentVersionCode: 113 CurrentVersionCode: 123