Skip to content

Instantly share code, notes, and snippets.

@cbedoy
Created March 16, 2021 03:37
Show Gist options
  • Select an option

  • Save cbedoy/253d98ff01ef9ed2919582092ee653a2 to your computer and use it in GitHub Desktop.

Select an option

Save cbedoy/253d98ff01ef9ed2919582092ee653a2 to your computer and use it in GitHub Desktop.
fastlane develop
desc "Submit a new Beta Build to Firebase App Distribution (Develop)🚀🚀"
lane :qa do
changelog = changelog_from_git_commits(
between: ["master", "HEAD"],
pretty: "- %s",
date_format: "short",
match_lightweight_tag: false,
merge_commit_filtering: "exclude_merges"
)
slack(
message: "Started building process for YOUR_APP_NAME - YOUR_BRANCH (Build to Firebase App Distribution)",
slack_url:"YOUR_TEAM_SLACK_CHANNEL"
)
gradle(task: "clean testDebug")
gradle(task: "clean assembleDebug")
slack(
message: "Started to upload build to Firebase Distribution",
slack_url:"YOUR_TEAM_SLACK_CHANNEL"
)
firebase_app_distribution(
firebase_cli_token: "YOUR_FIREBASE_CLI_TOKEN",
app: "YOUR_APPLICATION_ID",
groups: "YOUR_GROUPS",
release_notes: changelog
)
slack(
message: "New build have been deployed in Firebase🚀🚀",
slack_url:"YOUR_TEAM_SLACK_CHANNEL"
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment