Created
January 9, 2019 18:14
-
-
Save Pierry/7c44c3ed34de03d55e396efd04906119 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
desc "Runs all the tests" | |
lane :test do | |
gradle(task: "test") | |
end | |
desc "Submit a new Beta Build to Crashlytics Beta" | |
lane :beta do | |
gradle(task: 'assemble', build_type: 'Release') | |
changelog_from_git_commits | |
crashlytics( | |
api_token: 'API_TOKEN', | |
build_secret: 'BUILD_SECRET', | |
groups: 'GROUP', | |
) | |
# sh "your_script.sh" | |
# You can also use other beta testing services here | |
end | |
desc "Deploy a new version to the Google Play" | |
lane :deploy do | |
gradle(task: "clean assembleRelease") | |
upload_to_play_store | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment