Difference between revisions of "Fastlane/Fastfile"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
* https://docs.fastlane.tools/advanced/Fastfile/
 
* https://docs.fastlane.tools/advanced/Fastfile/
  
 +
[[fastlane/Fastfile]]
  
{{fastlane}}
+
== Examples ==
 +
lane :my_lane do
 +
  # Whatever actions you like go in here.
 +
end
 +
 
 +
 
 +
  lane :MyStagingLane do
 +
    app_identifier = 'com.your_app.staging'
 +
    build(app_identifier: app_identifier)
 +
    build_no = ENV['STORE_BUILD_NUMBER'].to_i
 +
 +
    supply(
 +
      package_name: your_app_identifier,
 +
      track: 'internal',
 +
      json_key: './secrets/secrets/fastlane-supply-cert-key[[.json]]',
 +
      skip_upload_metadata: true,
 +
      skip_upload_images: true,
 +
      skip_upload_screenshots: true
 +
    )
 +
 +
    supply(
 +
      package_name: your_app_identifier,
 +
      track: 'internal',
 +
      track_promote_to: 'alpha',
 +
      json_key: './secrets/secrets/fastlane-supply-cert.json',
 +
      skip_upload_metadata: true,
 +
      skip_upload_images: true,
 +
      skip_upload_screenshots: true
 +
    )
 +
  end
 +
 
 +
 
 +
== See also ==
 +
* {{fastlane}}
 +
 
 +
[[Category:Fastlane]]

Latest revision as of 07:28, 22 March 2022

fastlane/Fastfile 

Examples[edit]

lane :my_lane do
  # Whatever actions you like go in here.
end


 lane :MyStagingLane do
   app_identifier = 'com.your_app.staging'
   build(app_identifier: app_identifier)
   build_no = ENV['STORE_BUILD_NUMBER'].to_i

   supply(
     package_name: your_app_identifier,
     track: 'internal',
     json_key: './secrets/secrets/fastlane-supply-cert-key.json',
     skip_upload_metadata: true,
     skip_upload_images: true,
     skip_upload_screenshots: true
   )

   supply(
     package_name: your_app_identifier,
     track: 'internal',
     track_promote_to: 'alpha',
     json_key: './secrets/secrets/fastlane-supply-cert.json',
     skip_upload_metadata: true,
     skip_upload_images: true,
     skip_upload_screenshots: true
   )
 end


See also[edit]

Advertising: