Skip to content

Instantly share code, notes, and snippets.

@wzieba
Last active August 2, 2020 10:04
Show Gist options
  • Save wzieba/1b3ff63f0615456644286551e9ad0a5e to your computer and use it in GitHub Desktop.
Save wzieba/1b3ff63f0615456644286551e9ad0a5e to your computer and use it in GitHub Desktop.
default_platform(:android)
platform :android do
desc "Deploy to Firebase App Distribution"
lane :firebase_distribution do
sh("wget https://github.com/appium/appium/raw/master/sample-code/apps/ApiDemos-debug.apk")
firebase_app_distribution(
apk_path: sh("pwd | tr -d '\n'").concat("/ApiDemos-debug.apk"),
app: ENV["FIREBASE_APP_ID"],
firebase_cli_token: ENV["FIREBASE_CLI_TOKEN"],
groups: "",
release_notes: "Git commit: #{last_git_commit[:abbreviated_commit_hash]}",
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment