Advertisement
Guest User

Fastfile

a guest
Nov 24th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 2.45 KB | None | 0 0
  1. fastlane_version "2.66.2"
  2.  
  3. default_platform :ios
  4.  
  5. platform :ios do
  6.   desc "Submit a new Development Build to Apple TestFlight"
  7.   lane :development do
  8.     sigh(
  9.       app_identifier: "com.cubigo.Cubigo2-development",
  10.       output_path: "fastlane/build"
  11.     )
  12.     gym(
  13.       scheme: "Cubigo (Development)",
  14.       include_bitcode: true,
  15.       output_directory: "fastlane/build",
  16.       silent: true
  17.     )
  18.     pilot(
  19.       app_identifier: "com.cubigo.Cubigo2-development",
  20.       skip_waiting_for_build_processing: true
  21.     )
  22.   end
  23.  
  24.   desc "Submit a new Demo Build to Apple TestFlight"
  25.   lane :demo do
  26.     sigh(
  27.       app_identifier: "com.cubigo.Cubigo2-demo",
  28.       output_path: "fastlane/build"
  29.     )
  30.     gym(
  31.       scheme: "Cubigo (Demo)",
  32.       include_bitcode: true,
  33.       output_directory: "fastlane/build",
  34.       silent: true
  35.     )
  36.     pilot(
  37.       app_identifier: "com.cubigo.Cubigo2-demo",
  38.       skip_waiting_for_build_processing: true
  39.     )
  40.   end
  41.  
  42.   desc "Submit a new UAT Build to Apple TestFlight"
  43.   lane :uat do
  44.     sigh(
  45.       app_identifier: "com.cubigo.Cubigo2-uat",
  46.       output_path: "fastlane/build"
  47.     )
  48.     gym(
  49.       scheme: "Cubigo (UAT)",
  50.       include_bitcode: true,
  51.       output_directory: "fastlane/build",
  52.       silent: true
  53.     )
  54.     pilot(
  55.       app_identifier: "com.cubigo.Cubigo2-uat",
  56.       skip_waiting_for_build_processing: true
  57.     )
  58.   end
  59.  
  60.   desc "Submit a new Staging Build to Apple TestFlight"
  61.   lane :staging do
  62.     sigh(
  63.       app_identifier: "com.cubigo.Cubigo2",
  64.       output_path: "fastlane/build"
  65.     )
  66.     gym(
  67.       scheme: "Cubigo (Staging)",
  68.       include_bitcode: true,
  69.       output_directory: "fastlane/build",
  70.       silent: true
  71.     )
  72.     pilot(
  73.       app_identifier: "com.cubigo.Cubigo2",
  74.       skip_waiting_for_build_processing: true
  75.     )
  76.   end
  77.  
  78.   desc "Deploy a new version to the App Store"
  79.   lane :release do
  80.     sigh(
  81.       app_identifier: "com.cubigo.Cubigo2",
  82.       output_path: "fastlane/build"
  83.     )
  84.     gym(
  85.       scheme: "Cubigo (Production)",
  86.       include_bitcode: true,
  87.       output_directory: "fastlane/build",
  88.       silent: true
  89.     )
  90.     deliver(force: true, team_id: 118238267)
  91.   end
  92.  
  93.   desc "Download dSYMs from iTC and upload them to Crashlytics"
  94.   lane :refresh_dsyms do
  95.     download_dsyms
  96.     upload_symbols_to_crashlytics
  97.     clean_build_artifacts
  98.   end
  99.  
  100.   after_all do |lane|
  101.  
  102.   end
  103.  
  104.   error do |lane, exception|
  105.  
  106.   end
  107. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement