Skip to content

Instantly share code, notes, and snippets.

@harshmittal2810
Created March 7, 2021 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harshmittal2810/613d16d829737841f14ef0d04477b464 to your computer and use it in GitHub Desktop.
Save harshmittal2810/613d16d829737841f14ef0d04477b464 to your computer and use it in GitHub Desktop.
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