Add fastlane

This commit is contained in:
J-Jamet
2018-01-31 20:26:43 +01:00
parent 724bb1fc86
commit 2cb3972865
16 changed files with 71 additions and 0 deletions

36
fastlane/Fastfile Normal file
View File

@@ -0,0 +1,36 @@
# 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
#
# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane
default_platform(:android)
platform :android do
desc "Runs all the tests"
lane :tests do
gradle(task: "test")
end
desc "Build a new Beta version"
lane :build_beta_google_free do
gradle(
task: "assemble",
flavor: "free_google",
build_type: "Release"
)
end
desc "Deploy a new Beta version to the Google Play"
lane :deploy_beta_google_free do
upload_to_play_store(
track: "beta"
)
end
end