Skip to content

Instantly share code, notes, and snippets.

@OmarKRostom
Created June 29, 2020 08:49
Show Gist options
  • Save OmarKRostom/52fe6aae3a8cd26a28c93b21c763bde7 to your computer and use it in GitHub Desktop.
Save OmarKRostom/52fe6aae3a8cd26a28c93b21c763bde7 to your computer and use it in GitHub Desktop.
Your quick and reliable Fastlane configuration for Android
# Here is {MY_APP_BETA} configuration file
default_platform(:android)
platform :android do
desc "Submit a new {MY_APP_BETA} Build to Crashlytics"
lane :{MY_APP_BETA} do
gradle(task: "clean assemble{MY_APP_BETA}")
firebase_app_distribution(
app: "{REPLACE_WITH_FIREBASE_API_KEY_FOR_YOUR_PROJET}"
)
slack(
message: "A new build for {MY_APP_BETA} successfully released on Crashlytics !",
slack_url: "{MY_APP_SLACK_HOOK_URL}",
channel: "#build-notifications",
success: true
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment