diff --git a/README.md b/README.md index 1cb296c..6854525 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ A mobile flutter app for [FileBin](https://git.server-speed.net/users/flo/filebin/). -Available on the [Play Store](https://play.google.com/store/apps/details?id=de.varakh.fbmobile). +Available on the [Play Store](https://play.google.com/store/apps/details?id=de.varakh.fbmobile) and +[IzzyOnDroid](https://apt.izzysoft.de/fdroid/index/apk/de.varakh.fbmobile/). The main git repository is hosted at **[https://git.myservermanager.com/varakh/fbmobile](https://git.myservermanager.com/varakh/fbmobile)**. Other repositories are mirrors and pull requests, issues, and planning are managed there. @@ -94,7 +95,7 @@ profiles. They're stored in a separate git repository and are encrypted. You need access to the git repository in which those private files reside. -#### Usage +#### Usage / doing the actual release Go into the platform directory you want to build for, e.g. `ios/` or `android/` and then look into the `Fastlane` file which lanes are present. Run a lane via `fastlane `, e.g. use the @@ -123,6 +124,9 @@ bundle exec fastlane android beta # deploy (push to app store) bundle exec fastlane android deploy + +# deploy (build signed fdroid large bundle [no target and abi split]) +bundle exec fastlane android build_production_froid ``` ##### iOS diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile index ee793ac..2962bc5 100644 --- a/android/fastlane/Fastfile +++ b/android/fastlane/Fastfile @@ -11,6 +11,11 @@ platform :android do sh("#{ENV['PWD']}/fastlane/buildAndroidProduction.sh") end + desc "Build Production fdroid" + lane :build_production_froid do + sh("#{ENV['PWD']}/fastlane/buildAndroidProductionFdroid.sh") + end + desc "Build" lane :build do sh("#{ENV['PWD']}/fastlane/buildAndroid.sh") diff --git a/android/fastlane/README.md b/android/fastlane/README.md index ee3138f..156b973 100644 --- a/android/fastlane/README.md +++ b/android/fastlane/README.md @@ -31,6 +31,14 @@ Build Debug Build Production +### android build_production_froid + +```sh +[bundle exec] fastlane android build_production_froid +``` + +Build Production fdroid + ### android build ```sh diff --git a/android/fastlane/buildAndroidProductionFdroid.sh b/android/fastlane/buildAndroidProductionFdroid.sh new file mode 100755 index 0000000..b2e2be2 --- /dev/null +++ b/android/fastlane/buildAndroidProductionFdroid.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +cd ../../; +flutter clean && \ +flutter pub get && +flutter packages pub run build_runner build --delete-conflicting-outputs; + +flutter build apk --release;