diff --git a/metadata/com.s4nj1th.pocket_dhamma.yml b/metadata/com.s4nj1th.pocket_dhamma.yml index 2a839596f7..4c41aa34b0 100644 --- a/metadata/com.s4nj1th.pocket_dhamma.yml +++ b/metadata/com.s4nj1th.pocket_dhamma.yml @@ -141,6 +141,132 @@ Builds: - popd - mv $repo/pocket-dhamma com.s4nj1th.pocket_dhamma + - versionName: 1.2.2 + versionCode: 1221 + commit: 42de085881c386facc50e8271f35142051a68a7b + sudo: + - mkdir -p /home/s4nj1th + - chown vagrant /home/s4nj1th + output: build/app/outputs/flutter-apk/app-x86_64-release.apk + binary: https://github.com/s4nj1th/pocket-dhamma/releases/download/v%v/app-x86_64-release.apk + srclibs: + - flutter@stable + rm: + - ios + - linux + - macos + - web + - windows + prebuild: + - export repo=/home/s4nj1th/code/flutter + - mkdir -p $repo + - cd .. + - mv com.s4nj1th.pocket_dhamma $repo/pocket-dhamma + - pushd $repo/pocket-dhamma + - flutterVersion=$(sed -n -E "s/^\s*flutter:\ (.*)/\1/p" pubspec.yaml) + - '[[ $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 + - mv $repo/pocket-dhamma com.s4nj1th.pocket_dhamma + scandelete: + - .pub-cache + build: + - export repo=/home/s4nj1th/code/flutter + - cd .. + - mv com.s4nj1th.pocket_dhamma $repo/pocket-dhamma + - pushd $repo/pocket-dhamma + - export PUB_CACHE=$(pwd)/.pub-cache + - $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform="android-x64" + - popd + - mv $repo/pocket-dhamma com.s4nj1th.pocket_dhamma + + - versionName: 1.2.2 + versionCode: 1222 + commit: 42de085881c386facc50e8271f35142051a68a7b + sudo: + - mkdir -p /home/s4nj1th + - chown vagrant /home/s4nj1th + output: build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk + binary: https://github.com/s4nj1th/pocket-dhamma/releases/download/v%v/app-armeabi-v7a-release.apk + srclibs: + - flutter@stable + rm: + - ios + - linux + - macos + - web + - windows + prebuild: + - export repo=/home/s4nj1th/code/flutter + - mkdir -p $repo + - cd .. + - mv com.s4nj1th.pocket_dhamma $repo/pocket-dhamma + - pushd $repo/pocket-dhamma + - flutterVersion=$(sed -n -E "s/^\s*flutter:\ (.*)/\1/p" pubspec.yaml) + - '[[ $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 + - mv $repo/pocket-dhamma com.s4nj1th.pocket_dhamma + scandelete: + - .pub-cache + build: + - export repo=/home/s4nj1th/code/flutter + - cd .. + - mv com.s4nj1th.pocket_dhamma $repo/pocket-dhamma + - pushd $repo/pocket-dhamma + - export PUB_CACHE=$(pwd)/.pub-cache + - $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform="android-arm" + - popd + - mv $repo/pocket-dhamma com.s4nj1th.pocket_dhamma + + - versionName: 1.2.2 + versionCode: 1223 + commit: 42de085881c386facc50e8271f35142051a68a7b + sudo: + - mkdir -p /home/s4nj1th + - chown vagrant /home/s4nj1th + output: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk + binary: https://github.com/s4nj1th/pocket-dhamma/releases/download/v%v/app-arm64-v8a-release.apk + srclibs: + - flutter@stable + rm: + - ios + - linux + - macos + - web + - windows + prebuild: + - export repo=/home/s4nj1th/code/flutter + - mkdir -p $repo + - cd .. + - mv com.s4nj1th.pocket_dhamma $repo/pocket-dhamma + - pushd $repo/pocket-dhamma + - flutterVersion=$(sed -n -E "s/^\s*flutter:\ (.*)/\1/p" pubspec.yaml) + - '[[ $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 + - mv $repo/pocket-dhamma com.s4nj1th.pocket_dhamma + scandelete: + - .pub-cache + build: + - export repo=/home/s4nj1th/code/flutter + - cd .. + - mv com.s4nj1th.pocket_dhamma $repo/pocket-dhamma + - pushd $repo/pocket-dhamma + - export PUB_CACHE=$(pwd)/.pub-cache + - $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform="android-arm64" + - popd + - mv $repo/pocket-dhamma com.s4nj1th.pocket_dhamma + AllowedAPKSigningKeys: 8c70a6600f351180e1acda62756d7378ff824729c9ef08e016a8b58b4423cf30 AutoUpdateMode: Version @@ -150,5 +276,5 @@ VercodeOperation: - 10 * %c + 2 - 10 * %c + 3 UpdateCheckData: pubspec.yaml|version:\s.*\+(\d+)|.|version:\s(.*)\+ -CurrentVersion: 1.2.1 -CurrentVersionCode: 1213 +CurrentVersion: 1.2.2 +CurrentVersionCode: 1223