mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-13 17:51:43 +00:00
Update Open Food Facts to 4.10.0 (1230)
This commit is contained in:
parent
7e40b00281
commit
d1b5df6ded
1 changed files with 32 additions and 2 deletions
|
|
@ -476,8 +476,38 @@ Builds:
|
||||||
- export PUB_CACHE=$(pwd)/.pub-cache
|
- export PUB_CACHE=$(pwd)/.pub-cache
|
||||||
- $$flutter$$/bin/flutter build apk -t lib/entrypoints/android/main_fdroid.dart
|
- $$flutter$$/bin/flutter build apk -t lib/entrypoints/android/main_fdroid.dart
|
||||||
|
|
||||||
|
- versionName: 4.10.0
|
||||||
|
versionCode: 1230
|
||||||
|
commit: v4.10.0
|
||||||
|
subdir: packages/smooth_app
|
||||||
|
output: build/app/outputs/apk/release/app-release-unsigned.apk
|
||||||
|
srclibs:
|
||||||
|
- flutter@stable
|
||||||
|
rm:
|
||||||
|
- packages/smooth_app/ios
|
||||||
|
- packages/scanner/ml_kit
|
||||||
|
prebuild:
|
||||||
|
- version=$(cat ../../flutter-version.txt)
|
||||||
|
- pushd $$flutter$$
|
||||||
|
- git checkout -f $version
|
||||||
|
- popd
|
||||||
|
- sed -i -e '/ml_kit/d' -e '/apple_/d' -e '/google_play/d' -e 's/version:.*/version:\
|
||||||
|
$$VERSION$$+$$VERCODE$$/' pubspec.yaml
|
||||||
|
- pushd android
|
||||||
|
- grep -rli 'org.openfoodfacts.scanner' * | xargs -i@ sed -i 's/org.openfoodfacts.scanner/openfoodfacts.github.scrachx.openfood/g'
|
||||||
|
@
|
||||||
|
- popd
|
||||||
|
- export PUB_CACHE=$(pwd)/.pub-cache
|
||||||
|
- $$flutter$$/bin/flutter config --no-analytics
|
||||||
|
- $$flutter$$/bin/flutter pub upgrade
|
||||||
|
scandelete:
|
||||||
|
- packages/smooth_app/.pub-cache
|
||||||
|
build:
|
||||||
|
- export PUB_CACHE=$(pwd)/.pub-cache
|
||||||
|
- $$flutter$$/bin/flutter build apk -t lib/entrypoints/android/main_fdroid.dart
|
||||||
|
|
||||||
AutoUpdateMode: Version v%v
|
AutoUpdateMode: Version v%v
|
||||||
UpdateCheckMode: HTTP
|
UpdateCheckMode: HTTP
|
||||||
UpdateCheckData: https://github.com/openfoodfacts/smooth-app/releases/latest/download/version-code.txt|(\d+)|https://github.com/openfoodfacts/smooth-app/releases/latest|releases/tag/v([\d.]+)
|
UpdateCheckData: https://github.com/openfoodfacts/smooth-app/releases/latest/download/version-code.txt|(\d+)|https://github.com/openfoodfacts/smooth-app/releases/latest|releases/tag/v([\d.]+)
|
||||||
CurrentVersion: 4.9.0
|
CurrentVersion: 4.10.0
|
||||||
CurrentVersionCode: 1228
|
CurrentVersionCode: 1230
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue