From 743f6ca0f6ab58b69ba11bab725c49a1f00a7bf4 Mon Sep 17 00:00:00 2001 From: sanjith Date: Wed, 11 Jun 2025 15:39:04 +0000 Subject: [PATCH] Added metadata for com.s4nj1th.pocket_dhamma --- metadata/com.s4nj1th.pocket_dhamma.yml | 154 +++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 metadata/com.s4nj1th.pocket_dhamma.yml diff --git a/metadata/com.s4nj1th.pocket_dhamma.yml b/metadata/com.s4nj1th.pocket_dhamma.yml new file mode 100644 index 0000000000..2a839596f7 --- /dev/null +++ b/metadata/com.s4nj1th.pocket_dhamma.yml @@ -0,0 +1,154 @@ +Categories: + - Reading + - Science & Education +License: GPL-3.0-only +AuthorName: Sanjith Muralikrishnan +AuthorEmail: sanjith.develops@gmail.com +SourceCode: https://github.com/s4nj1th/pocket-dhamma +IssueTracker: https://github.com/s4nj1th/pocket-dhamma/issues +Changelog: https://github.com/s4nj1th/pocket-dhamma/releases +Liberapay: s4nj1th + +AutoName: PocketDhamma + +RepoType: git +Repo: https://github.com/s4nj1th/pocket-dhamma.git + +Builds: + - versionName: 1.2.1 + versionCode: 1211 + commit: cfb8c6036c6e6aa1f7b4806fd9b703316861292e + 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.1 + versionCode: 1212 + commit: cfb8c6036c6e6aa1f7b4806fd9b703316861292e + 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.1 + versionCode: 1213 + commit: cfb8c6036c6e6aa1f7b4806fd9b703316861292e + 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 +UpdateCheckMode: Tags +VercodeOperation: + - 10 * %c + 1 + - 10 * %c + 2 + - 10 * %c + 3 +UpdateCheckData: pubspec.yaml|version:\s.*\+(\d+)|.|version:\s(.*)\+ +CurrentVersion: 1.2.1 +CurrentVersionCode: 1213