diff --git a/metadata/dev.linwood.butterfly.yml b/metadata/dev.linwood.butterfly.yml index 4c315afcbe..99ae667fcd 100644 --- a/metadata/dev.linwood.butterfly.yml +++ b/metadata/dev.linwood.butterfly.yml @@ -934,8 +934,36 @@ Builds: - export PUB_CACHE=$(pwd)/.pub-cache - $$flutter$$/bin/flutter build apk --flavor production + - versionName: 2.2.2 + versionCode: 122 + commit: 3722027f6b53292d9923514b79bd41d1b7f321e2 + subdir: app + output: build/app/outputs/flutter-apk/app-production-release.apk + srclibs: + - flutter@stable + rm: + - app/ios + - app/linux + - app/macos + - app/web + - app/windows + prebuild: + - sdkmanager 'ndk;23.1.7779620' 'ndk;26.1.10909125' + - export version=$(grep "^ flutter:" pubspec.yaml | cut -d ":" -f2|head -n1) + - pushd $$flutter$$ + - git checkout -f $version + - popd + - export PUB_CACHE=$(pwd)/.pub-cache + - $$flutter$$/bin/flutter config --no-analytics + - $$flutter$$/bin/flutter pub get + scandelete: + - app/.pub-cache + build: + - export PUB_CACHE=$(pwd)/.pub-cache + - $$flutter$$/bin/flutter build apk --flavor production + AutoUpdateMode: Version UpdateCheckMode: Tags ^v[\d.]+$ UpdateCheckData: app/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ -CurrentVersion: 2.2.1 -CurrentVersionCode: 119 +CurrentVersion: 2.2.2 +CurrentVersionCode: 122