finderlein - pick flutter version from code

This commit is contained in:
Licaon_Kter 2023-06-12 07:00:40 +00:00
parent 24f45e7bd3
commit 6176ebbbb2

View file

@ -15,7 +15,7 @@ Liberapay: derqurps
AutoName: NÖ Finderlein
RepoType: git
Repo: https://github.com/finderlein/noefinderlein_flutter
Repo: https://github.com/finderlein/noefinderlein_flutter.git
Builds:
- versionName: 2.0.6
@ -229,7 +229,7 @@ Builds:
commit: 8330d83fe21d89a0f9003032d1378e8409a7666b
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@3.7.10
- flutter@stable
rm:
- .github
- .vscode
@ -242,6 +242,10 @@ Builds:
- web
- windows
prebuild:
- export version=$(grep "^\ \ flutter:\ " pubspec.yaml| cut -d " " -f4)
- pushd $$flutter$$
- git checkout -f $version
- popd
- sed -i -e 's|git@github.com:|https://github.com/|' pubspec.lock pubspec.yaml
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter config --no-analytics