Case study / 07 ยท Release engineering
Taking release turnaround from 2 days to 2 hours
Shipping a mobile release used to eat two days of someone's time. Automating it with Fastlane brought that down to about two hours, and made releases boring in the good way.
merge
CI build
code signing
store upload
phased rollout
monitor
Problem
Every release meant building for iOS and Android, sorting out signing, uploading to App Store Connect and the Google Play Console, and walking it through review. Done by hand, it took around two days, it depended on one person's machine, and small mistakes in signing or versioning kept slipping in.
Approach
- Fastlane for the repetitive parts. Builds, code signing and store uploads for both platforms run as Fastlane lanes instead of a checklist on someone's desk.
- Run it on CI. The lanes run on CI (I have used Jenkins, Bitrise and GitHub Actions for this), so a release no longer depends on one laptop.
- Roll out in stages. Phased and staged rollouts on the App Store and Google Play, so a bad build reaches a small share of users before everyone.
- Gate it with standards. Code review and pre-release checks decide what goes in, so speed does not come at the cost of quality.
Result
- Release turnaround cut from 2 days to about 2 hours.
- Signing and store uploads repeatable on CI for iOS and Android.
- Phased rollouts as the default, with crash monitoring watching each stage.
What I took from it
The real win is not the hours saved on one release. When shipping is cheap, teams ship smaller changes more often, and smaller changes are much easier to roll back.