diff --git a/android/fastlane/Appfile b/android/fastlane/Appfile new file mode 100644 index 000000000..f4690bfb7 --- /dev/null +++ b/android/fastlane/Appfile @@ -0,0 +1,2 @@ +json_key_file("") +package_name("org.jitsi.meet") diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile new file mode 100644 index 000000000..8059818c3 --- /dev/null +++ b/android/fastlane/Fastfile @@ -0,0 +1,34 @@ +ENV["FASTLANE_SKIP_UPDATE_CHECK"] = "1" +opt_out_usage + +default_platform(:android) + +platform :android do + desc "Deploy a new version to Goolge Play (Closed Beta)" + lane :deploy do + # Cleanup + gradle(task: "clean") + + # Build and sign the app + gradle( + task: "assemble", + build_type: "Release", + print_command: false, + properties: { + "android.injected.signing.store.file" => ENV["JITSI_KEYSTORE"], + "android.injected.signing.store.password" => ENV["JITSI_KEYSTORE_PASSWORD"], + "android.injected.signing.key.alias" => ENV["JITSI_KEY_ALIAS"], + "android.injected.signing.key.password" => ENV["JITSI_KEY_PASSWORD"], + } + ) + + # Upload built artifact to the Closed Beta track + upload_to_play_store( + track: "Closed Beta", + json_key: ENV["JITSI_JSON_KEY_FILE"], + skip_upload_metadata: true, + skip_upload_images: true, + skip_upload_screenshots: true + ) + end +end diff --git a/android/fastlane/README.md b/android/fastlane/README.md new file mode 100644 index 000000000..e2b182871 --- /dev/null +++ b/android/fastlane/README.md @@ -0,0 +1,29 @@ +fastlane documentation +================ +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +``` +xcode-select --install +``` + +Install _fastlane_ using +``` +[sudo] gem install fastlane -NV +``` +or alternatively using `brew cask install fastlane` + +# Available Actions +## Android +### android deploy +``` +fastlane android deploy +``` +Deploy a new version to Goolge Play (Closed Beta) + +---- + +This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run. +More information about fastlane can be found on [fastlane.tools](https://fastlane.tools). +The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).