glider - update recipe

This commit is contained in:
Licaon_Kter 2023-10-25 09:08:29 +00:00
parent 6c0b016c64
commit b34179f290

View file

@ -375,21 +375,30 @@ Builds:
- versionName: 2.0.0
versionCode: 41
commit: 6a509c93b69f87dcddb6f4caa3598fe738ab62ef
sudo:
- apt-get update
- apt-get install -y openjdk-17-jdk-headless
- update-java-alternatives -a
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@3.3.4
- flutter@stable
rm:
- .github
- .vscode
- ios
- linux
- macos
- web
- windows
build:
prebuild:
- export version=$(grep flutter .fvmrc | cut -d ":" -f2|cut -d "\"" -f2)
- pushd $$flutter$$
- git checkout -f $version
- popd
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter pub get
- $$flutter$$/bin/flutter pub run build_runner build --delete-conflicting-outputs
scandelete:
- .pub-cache
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter build apk
AutoUpdateMode: Version