From 84755559e100c3a1d16e5e7a1a56e7f740c1fa93 Mon Sep 17 00:00:00 2001 From: Sduu Date: Wed, 22 Sep 2021 19:37:19 +0200 Subject: [PATCH] cleanup Fastfile --- fastlane/Fastfile | 36 +++++++++++------------------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 19c557cc..9648ab26 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -1,18 +1,3 @@ -# This file contains the fastlane.tools configuration -# You can find the documentation at https://docs.fastlane.tools -# -# For a list of all available actions, check out -# -# https://docs.fastlane.tools/actions -# -# For a list of all available plugins, check out -# -# https://docs.fastlane.tools/plugins/available-plugins -# - -# Uncomment the line if you want fastlane to automatically update itself -# update_fastlane - default_platform(:android) platform :android do @@ -23,16 +8,17 @@ platform :android do desc "Submit a new Beta Build to Crashlytics Beta" lane :beta do - gradle(task: "clean assembleRelease") - crashlytics - - # sh "your_script.sh" - # You can also use other beta testing services here + ensure_git_status_clean( + show_uncommitted_changes: true + ) + ensure_git_branch( + branch: '^release/.*$' + ) + gradle(task: "clean bundleRelease") + supply( + track: 'beta', + rollout: '1' + ) end - desc "Deploy a new version to the Google Play" - lane :deploy do - gradle(task: "clean assembleRelease") - upload_to_play_store - end end