Created
March 7, 2021 09:10
-
-
Save harshmittal2810/613d16d829737841f14ef0d04477b464 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
default_platform(:android) | |
platform :android do | |
desc "Deploy a beta version to the Google Play" | |
lane :beta do | |
gradle(task: "clean bundleRelease") | |
upload_to_play_store(track: 'beta') | |
end | |
desc "Lane for distributing app using Firebase App Distributions" | |
lane :distribute do | |
gradle(task: "clean assembleRelease") | |
firebase_app_distribution( | |
service_credentials_file: "firebase_credentials.json", | |
app: "FIREBASE_APP_ID", | |
release_notes_file: "FirebaseAppDistributionConfig/release_notes.txt", | |
groups_file: "FirebaseAppDistributionConfig/groups.txt", | |
firebase_cli_token: "FIREBASE_CLI_TOKEN" | |
) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment