Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fastlane: Android Deployments on Steroids

Fastlane: Android Deployments on Steroids

Presented in Feb '17 Blrdroid meetup.
https://www.meetup.com/blrdroid/events/237112474

Ragunath Jawahar

February 25, 2017
Tweet

More Decks by Ragunath Jawahar

Other Decks in Programming

Transcript

  1. • The “release” engineer is on leave • That bug

    fix is not worth a release • Shipped a wrong build variant • I want the latest build “Right NOW” • You make daily builds • Someone help me with the screenshots • Want to be a more efficient engineer
  2. Fastfile • Can and usually has multiple lanes • Each

    lane is composed of various Fastlane actions • Actions communicate using the “lane context”
  3. β Checklist • Version bump • Commit and push •

    Build • Upload for Distribution • Release Notes • Communicate
  4. lane :beta do increment_version_code gradle(task: "clean") gradle(task: "assembleRelease") supply(track: "beta")

    commit_android_version_bump changelog_from_git_commits slack push_to_git_remote end
  5. lane :beta do increment_version_code gradle(task: "clean") gradle(task: "assembleRelease") supply(track: "beta")

    commit_android_version_bump changelog_from_git_commits slack push_to_git_remote end
  6. lane :beta do increment_version_code gradle(task: "clean") gradle(task: "assembleRelease") supply(track: "beta")

    commit_android_version_bump changelog_from_git_commits slack push_to_git_remote end
  7. lane :beta do increment_version_code gradle(task: "clean") gradle(task: "assembleRelease") supply(track: "beta")

    commit_android_version_bump changelog_from_git_commits slack push_to_git_remote end
  8. lane :beta do increment_version_code gradle(task: "clean") gradle(task: "assembleRelease") supply(track: "beta")

    commit_android_version_bump changelog_from_git_commits slack push_to_git_remote end
  9. lane :beta do increment_version_code gradle(task: "clean") gradle(task: "assembleRelease") supply(track: "beta")

    commit_android_version_bump changelog_from_git_commits slack push_to_git_remote end
  10. lane :beta do increment_version_code gradle(task: "clean") gradle(task: "assembleRelease") supply(track: "beta")

    commit_android_version_bump changelog_from_git_commits slack push_to_git_remote end
  11. lane :beta do increment_version_code gradle(task: "clean") gradle(task: "assembleRelease") supply(track: "beta")

    commit_android_version_bump changelog_from_git_commits slack push_to_git_remote end
  12. lane :beta do increment_version_code gradle(task: "clean") gradle(task: "assembleRelease") supply(track: "beta")

    commit_android_version_bump changelog_from_git_commits slack push_to_git_remote end
  13. • Send command-line parameters • Extend Fastfile by adding your

    own methods • Badge app icons • Check if your working directory is clean • Send a tweet