links: React Native MOC


Circle CI for react native mono repo

Setup fastlane

  • Install bundler using gem install bundler

  • Create a Gemfile in the root of the iOS directory

source "https://rubygems.org" 
 
gem "fastlane"
  • You can use fastlane init to initialize

Create a folder called fastlane and add a file called FastFile

FastFile is a ruby code. you can have lanes like this

lane :beta do 
    increment_build_number 
    build_app 
    upload_to_testflight 
end 
lane :release do 
    capture_screenshots 
    build_app 
    upload_to_app_store # Upload the screenshots and the binary to iTunes 
    slack # Let your team-mates know the new version is live 
end

In order to release our app, you can run

fastlane release

tags: react-native continuous-integration continuous-deployment

sources: