Add fdroid build instructions and fastlane script #noissue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Varakh 2023-07-24 23:42:08 +02:00
parent 210c3e7aa4
commit 66493cff91
4 changed files with 27 additions and 2 deletions

View file

@ -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 <platform> <lane>`, 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

View file

@ -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")

View file

@ -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

View file

@ -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;