openfood: fix 4.16.0

This commit is contained in:
linsui 2024-10-14 16:34:49 +08:00
parent 33d39c3ca1
commit 269b041684

View file

@ -637,7 +637,6 @@ Builds:
- versionName: 4.16.0
versionCode: 1346
disable: https://github.com/openfoodfacts/smooth-app/issues/5456#issuecomment-2376355494
commit: v4.16.0
subdir: packages/smooth_app
output: build/app/outputs/apk/release/app-release-unsigned.apk
@ -646,11 +645,10 @@ Builds:
rm:
- packages/smooth_app/ios
- packages/scanner/ml_kit
- packages/app_store/google_play
- packages/app_store/apple_app_store
prebuild:
- version=$(cat ../../flutter-version.txt)
- pushd $$flutter$$
- git checkout -f $version
- popd
- git -C $$flutter$$ checkout -f $(cat ../../flutter-version.txt)
- sed -i -e '/ml_kit/d' -e '/apple_/d' -e '/google_play/d' -e 's/version:.*/version:\
$$VERSION$$+$$VERCODE$$/' pubspec.yaml
- sed -i -e 's|app_flutter/smoothie.db|smoothie.db|' android/app/src/main/res/xml/backup_scheme.xml
@ -661,7 +659,10 @@ Builds:
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter config --no-analytics
scanignore:
- packages/smooth_app/assets/animations/off
- packages/app_store/uri_store/pubspec.yaml
- packages/app_store/shared/pubspec.yaml
- packages/scanner/shared/pubspec.yaml
- packages/scanner/zxing/pubspec.yaml
scandelete:
- packages/smooth_app/.pub-cache
build: