diff --git a/metadata/dev.imranr.obtainium.fdroid.yml b/metadata/dev.imranr.obtainium.fdroid.yml index cb0054f3d8..9e3e02d1da 100644 --- a/metadata/dev.imranr.obtainium.fdroid.yml +++ b/metadata/dev.imranr.obtainium.fdroid.yml @@ -7748,6 +7748,153 @@ Builds: - $$reproducible-apk-tools$$/zipalign.py --page-size 16 --pad-like-apksigner --replace unaligned.apk $$OUT$$ + - versionName: 1.2.5 + versionCode: 23211 + commit: 3af185b0f8606cfe667f94f10644ae1d9c5eefd1 + submodules: true + sudo: + - mkdir -p /home/runner/work/Obtainium + - chown -R vagrant /home/runner + output: build/app/outputs/flutter-apk/app-x86_64-fdroid-release.apk + binary: https://github.com/ImranR98/Obtainium/releases/download/v%v/app-x86_64-fdroid-release.apk + srclibs: + - reproducible-apk-tools@v0.3.0 + - transistor-background-fetch@0dd1457588ba031f11e9452f125144aac8a9b75f + prebuild: + - export repo=/home/runner/work/Obtainium/Obtainium + - cd .. + - mv dev.imranr.obtainium.fdroid $repo + - pushd $repo + - export PUB_CACHE=$(pwd)/.pub-cache + - .flutter/bin/flutter config --no-analytics + - .flutter/bin/flutter pub get + - sed -i -e 's/8.12.1/8.11.1/' .pub-cache/hosted/pub.dev/{{path_provider,shared_preferences,sqflite,url_launcher,webview_flutter}_android,flutter_plugin_android_lifecycle,{device_info,share,connectivity,android_intent,battery}_plus}-*/android/build.gradle + - sed -i -e 's/8.13.0/8.11.1/' .pub-cache/hosted/pub.dev/fluttertoast-*/android/build.gradle + - sed -i -e '/maven {/,/^ }/cmavenLocal()' android/build.gradle.kts .pub-cache/hosted/pub.dev/background_fetch-*/android/build.gradle + - popd + - mv $repo dev.imranr.obtainium.fdroid + scanignore: + - .flutter/bin/cache + scandelete: + - .flutter + - .pub-cache + build: + - export repo=/home/runner/work/Obtainium/Obtainium + - cd .. + - mv dev.imranr.obtainium.fdroid $repo + - pushd $repo + - pushd $$transistor-background-fetch$$/android/tsbackgroundfetch/ + - gradle assembleRelease + - gradle publishToMavenLocal + - popd + - export PUB_CACHE=$(pwd)/.pub-cache + - .flutter/bin/flutter build apk --release --split-per-abi --target-platform="android-x64" + --flavor fdroid -t lib/main_fdroid.dart + - popd + - mv $repo dev.imranr.obtainium.fdroid + postbuild: + - mv $$OUT$$ unaligned.apk + - $$reproducible-apk-tools$$/zipalign.py --page-size 16 --pad-like-apksigner + --replace unaligned.apk $$OUT$$ + + - versionName: 1.2.5 + versionCode: 23212 + commit: 3af185b0f8606cfe667f94f10644ae1d9c5eefd1 + submodules: true + sudo: + - mkdir -p /home/runner/work/Obtainium + - chown -R vagrant /home/runner + output: build/app/outputs/flutter-apk/app-armeabi-v7a-fdroid-release.apk + binary: https://github.com/ImranR98/Obtainium/releases/download/v%v/app-armeabi-v7a-fdroid-release.apk + srclibs: + - reproducible-apk-tools@v0.3.0 + - transistor-background-fetch@0dd1457588ba031f11e9452f125144aac8a9b75f + prebuild: + - export repo=/home/runner/work/Obtainium/Obtainium + - cd .. + - mv dev.imranr.obtainium.fdroid $repo + - pushd $repo + - export PUB_CACHE=$(pwd)/.pub-cache + - .flutter/bin/flutter config --no-analytics + - .flutter/bin/flutter pub get + - sed -i -e 's/8.12.1/8.11.1/' .pub-cache/hosted/pub.dev/{{path_provider,shared_preferences,sqflite,url_launcher,webview_flutter}_android,flutter_plugin_android_lifecycle,{device_info,share,connectivity,android_intent,battery}_plus}-*/android/build.gradle + - sed -i -e 's/8.13.0/8.11.1/' .pub-cache/hosted/pub.dev/fluttertoast-*/android/build.gradle + - sed -i -e '/maven {/,/^ }/cmavenLocal()' android/build.gradle.kts .pub-cache/hosted/pub.dev/background_fetch-*/android/build.gradle + - popd + - mv $repo dev.imranr.obtainium.fdroid + scanignore: + - .flutter/bin/cache + scandelete: + - .flutter + - .pub-cache + build: + - export repo=/home/runner/work/Obtainium/Obtainium + - cd .. + - mv dev.imranr.obtainium.fdroid $repo + - pushd $repo + - pushd $$transistor-background-fetch$$/android/tsbackgroundfetch/ + - gradle assembleRelease + - gradle publishToMavenLocal + - popd + - export PUB_CACHE=$(pwd)/.pub-cache + - .flutter/bin/flutter build apk --release --split-per-abi --target-platform="android-arm" + --flavor fdroid -t lib/main_fdroid.dart + - popd + - mv $repo dev.imranr.obtainium.fdroid + postbuild: + - mv $$OUT$$ unaligned.apk + - $$reproducible-apk-tools$$/zipalign.py --page-size 16 --pad-like-apksigner + --replace unaligned.apk $$OUT$$ + + - versionName: 1.2.5 + versionCode: 23213 + commit: 3af185b0f8606cfe667f94f10644ae1d9c5eefd1 + submodules: true + sudo: + - mkdir -p /home/runner/work/Obtainium + - chown -R vagrant /home/runner + output: build/app/outputs/flutter-apk/app-arm64-v8a-fdroid-release.apk + binary: https://github.com/ImranR98/Obtainium/releases/download/v%v/app-arm64-v8a-fdroid-release.apk + srclibs: + - reproducible-apk-tools@v0.3.0 + - transistor-background-fetch@0dd1457588ba031f11e9452f125144aac8a9b75f + prebuild: + - export repo=/home/runner/work/Obtainium/Obtainium + - cd .. + - mv dev.imranr.obtainium.fdroid $repo + - pushd $repo + - export PUB_CACHE=$(pwd)/.pub-cache + - .flutter/bin/flutter config --no-analytics + - .flutter/bin/flutter pub get + - sed -i -e 's/8.12.1/8.11.1/' .pub-cache/hosted/pub.dev/{{path_provider,shared_preferences,sqflite,url_launcher,webview_flutter}_android,flutter_plugin_android_lifecycle,{device_info,share,connectivity,android_intent,battery}_plus}-*/android/build.gradle + - sed -i -e 's/8.13.0/8.11.1/' .pub-cache/hosted/pub.dev/fluttertoast-*/android/build.gradle + - sed -i -e '/maven {/,/^ }/cmavenLocal()' android/build.gradle.kts .pub-cache/hosted/pub.dev/background_fetch-*/android/build.gradle + - popd + - mv $repo dev.imranr.obtainium.fdroid + scanignore: + - .flutter/bin/cache + scandelete: + - .flutter + - .pub-cache + build: + - export repo=/home/runner/work/Obtainium/Obtainium + - cd .. + - mv dev.imranr.obtainium.fdroid $repo + - pushd $repo + - pushd $$transistor-background-fetch$$/android/tsbackgroundfetch/ + - gradle assembleRelease + - gradle publishToMavenLocal + - popd + - export PUB_CACHE=$(pwd)/.pub-cache + - .flutter/bin/flutter build apk --release --split-per-abi --target-platform="android-arm64" + --flavor fdroid -t lib/main_fdroid.dart + - popd + - mv $repo dev.imranr.obtainium.fdroid + postbuild: + - mv $$OUT$$ unaligned.apk + - $$reproducible-apk-tools$$/zipalign.py --page-size 16 --pad-like-apksigner + --replace unaligned.apk $$OUT$$ + AllowedAPKSigningKeys: b353601f6a1d5fd6603ae2f50be80cf301367b86b6ab8b1f66243da96cd57362 AutoUpdateMode: Version @@ -7757,5 +7904,5 @@ VercodeOperation: - '%c * 10 + 2' - '%c * 10 + 3' UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ -CurrentVersion: 1.2.4 -CurrentVersionCode: 23203 +CurrentVersion: 1.2.5 +CurrentVersionCode: 23213