From bc777d48263956e6c934cdc5c35677372385b5d7 Mon Sep 17 00:00:00 2001 From: Varakh Date: Mon, 29 May 2023 15:59:59 +0200 Subject: [PATCH] Add documentation for release with bundler and fastlane #noissue --- README.md | 23 ++++++++++++++++++++++- android/.gitignore | 2 ++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3cbaebe..1cb296c 100644 --- a/README.md +++ b/README.md @@ -104,13 +104,34 @@ following to build for Android `fastlane android build`. ##### Android -Use `fastlane android beta` to build and upload a new beta version to the Play Store. +It's recommended you set up `fastlane` via `bundler` (you need this to be installed on your machine). + +Go into the `android/` sub-directory of the project + +```shell +bundle config set --local path 'vendor/bundle' +bundle install + +# update fastlane when needed +bundle update fastlane + +# build only +bundle exec fastlane android build + +# deploy (push BETA to app store) +bundle exec fastlane android beta + +# deploy (push to app store) +bundle exec fastlane android deploy +``` ##### iOS For iOS you need to execute `fastlane ios build` before uploading to testflight with `fastlane ios beta`. +Probably do the same Ruby/fastlane setup as mentioned under the _Android_ section. + ### Release manually (not recommended) See the following links on how to setup: diff --git a/android/.gitignore b/android/.gitignore index bc2100d..611a492 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -5,3 +5,5 @@ gradle-wrapper.jar /gradlew.bat /local.properties GeneratedPluginRegistrant.java +.bundle +vendor/