From e4da0518658bc49ce774b49067b2da04ffb874ee Mon Sep 17 00:00:00 2001 From: F-Droid checkupdates bot Date: Fri, 31 May 2024 06:06:31 +0000 Subject: [PATCH] Update Plant-it to 0.7.1 (2) --- metadata/com.github.mdeluise.plantit.yml | 57 +++++++++++++++++++++++- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/metadata/com.github.mdeluise.plantit.yml b/metadata/com.github.mdeluise.plantit.yml index 0b3b0d0c8b..03ec1bc632 100644 --- a/metadata/com.github.mdeluise.plantit.yml +++ b/metadata/com.github.mdeluise.plantit.yml @@ -70,10 +70,63 @@ Builds: - mv $workspaceBuild/* $repo - shopt -u dotglob + - versionName: 0.7.1 + versionCode: 2 + commit: 57f17240f52376db291ae92e7675c53f591f89af + sudo: + - mkdir -p /home/runner/work/plant-it/plant-it + - chown vagrant /home/runner/work/plant-it/plant-it + output: frontend/build/app/outputs/flutter-apk/app-release.apk + srclibs: + - flutter@stable + rm: + - backend + - frontend/ios + - frontend/macos + - frontend/linux + - frontend/windows + - frontend/web + prebuild: + - export repo=com.github.mdeluise.plantit + - export workspaceBuild=/home/runner/work/plant-it/plant-it + - cd .. + - shopt -s dotglob + - mv $repo/* $workspaceBuild + - shopt -u dotglob + - pushd $workspaceBuild + - cd frontend + - flutterVersion=$(sed -n -E "s/.*FLUTTER_VERSION:\ (.*)/\1/p" ../.github/workflows/release.yml) + - '[[ $flutterVersion ]] || exit 1' + - git -C $$flutter$$ checkout -f $flutterVersion + - export PUB_CACHE=$(pwd)/.pub-cache + - $$flutter$$/bin/flutter config --no-analytics + - $$flutter$$/bin/flutter pub get + - popd + - shopt -s dotglob + - mv $workspaceBuild/* $repo + - shopt -u dotglob + scandelete: + - frontend/.pub-cache + build: + - export repo=com.github.mdeluise.plantit + - export workspaceBuild=/home/runner/work/plant-it/plant-it + - cd .. + - shopt -s dotglob + - mv $repo/* $workspaceBuild + - shopt -u dotglob + - pushd $workspaceBuild + - cd frontend + - export PUB_CACHE=$(pwd)/.pub-cache + - $$flutter$$/bin/flutter build apk --release + - popd + - shopt -s dotglob + - mv $workspaceBuild/* $repo + - shopt -u dotglob + AllowedAPKSigningKeys: 0eb87fb7f22b9ae04da2ff5817d3045244e591608aaf565161a86f5d254bbab7 AutoUpdateMode: Version UpdateCheckMode: Tags UpdateCheckData: frontend/pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ -CurrentVersion: 0.7.0 -CurrentVersionCode: 1 +CurrentVersion: 0.7.1 +CurrentVersionCode: 2