Fix the build script for Every Door

This commit is contained in:
Ilya Zverev 2025-07-26 00:45:26 +00:00 committed by linsui
parent cdaf55e898
commit 3e5a830cb1

View file

@ -671,6 +671,90 @@ Builds:
- vendor/flutter/bin/flutter build apk --release --flavor prod --split-per-abi
--target-platform=android-arm64
- versionName: 6.0.0
versionCode: 551
commit: ea5db19132671c940caa9e0e96f1c521a1bf392f
submodules: true
sudo:
- echo "deb https://deb.debian.org/debian trixie main" > /etc/apt/sources.list.d/trixie.list
- apt-get update
- apt-get install -y -t trixie openjdk-21-jdk-headless
- update-alternatives --auto java
output: build/app/outputs/flutter-apk/app-x86_64-prod-release.apk
prebuild:
- curl -L https://textual.ru/presets.db -o assets/presets.db
- sed -i -e 's/^#f\|^ *mobile_scanner.*$//' pubspec.yaml
- echo '{}' > lib/l10n/app_zh.arb
- export PUB_CACHE=$(pwd)/.pub-cache
- vendor/flutter/bin/flutter config --no-analytics
- vendor/flutter/bin/flutter packages pub get
- vendor/flutter/bin/dart run build_runner build
scanignore:
- vendor/flutter/bin/cache
scandelete:
- .pub-cache
- vendor/flutter
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- vendor/flutter/bin/flutter build apk --release --flavor prod --split-per-abi
--target-platform=android-x64
- versionName: 6.0.0
versionCode: 552
commit: ea5db19132671c940caa9e0e96f1c521a1bf392f
submodules: true
sudo:
- echo "deb https://deb.debian.org/debian trixie main" > /etc/apt/sources.list.d/trixie.list
- apt-get update
- apt-get install -y -t trixie openjdk-21-jdk-headless
- update-alternatives --auto java
output: build/app/outputs/flutter-apk/app-armeabi-v7a-prod-release.apk
prebuild:
- curl -L https://textual.ru/presets.db -o assets/presets.db
- sed -i -e 's/^#f\|^ *mobile_scanner.*$//' pubspec.yaml
- echo '{}' > lib/l10n/app_zh.arb
- export PUB_CACHE=$(pwd)/.pub-cache
- vendor/flutter/bin/flutter config --no-analytics
- vendor/flutter/bin/flutter packages pub get
- vendor/flutter/bin/dart run build_runner build
scanignore:
- vendor/flutter/bin/cache
scandelete:
- .pub-cache
- vendor/flutter
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- vendor/flutter/bin/flutter build apk --release --flavor prod --split-per-abi
--target-platform=android-arm
- versionName: 6.0.0
versionCode: 553
commit: ea5db19132671c940caa9e0e96f1c521a1bf392f
submodules: true
sudo:
- echo "deb https://deb.debian.org/debian trixie main" > /etc/apt/sources.list.d/trixie.list
- apt-get update
- apt-get install -y -t trixie openjdk-21-jdk-headless
- update-alternatives --auto java
output: build/app/outputs/flutter-apk/app-arm64-v8a-prod-release.apk
prebuild:
- curl -L https://textual.ru/presets.db -o assets/presets.db
- sed -i -e 's/^#f\|^ *mobile_scanner.*$//' pubspec.yaml
- echo '{}' > lib/l10n/app_zh.arb
- export PUB_CACHE=$(pwd)/.pub-cache
- vendor/flutter/bin/flutter config --no-analytics
- vendor/flutter/bin/flutter packages pub get
- vendor/flutter/bin/dart run build_runner build
scanignore:
- vendor/flutter/bin/cache
scandelete:
- .pub-cache
- vendor/flutter
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- vendor/flutter/bin/flutter build apk --release --flavor prod --split-per-abi
--target-platform=android-arm64
AutoUpdateMode: Version
UpdateCheckMode: Tags ^v[\d.]+$
VercodeOperation:
@ -678,5 +762,5 @@ VercodeOperation:
- '%c*10+2'
- '%c*10+3'
UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+
CurrentVersion: 5.4.0
CurrentVersionCode: 503
CurrentVersion: 6.0.0
CurrentVersionCode: 553