Skip to content

Instantly share code, notes, and snippets.

@RishabhTayal
Created September 15, 2017 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RishabhTayal/7d1df49e8e4d2f0be63a27786cd0208b to your computer and use it in GitHub Desktop.
Save RishabhTayal/7d1df49e8e4d2f0be63a27786cd0208b to your computer and use it in GitHub Desktop.
update_fastlane
default_platform :ios
ENV['DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS'] = '-t DAV'
platform :ios do
before_all do
# ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
# ENV['DEVELOPER_DIR'] = '/Applications/Xcode old/Xcode-beta.app/Contents/Developer'
cocoapods
end
desc "Runs all the tests"
lane :test do
scan
end
desc "Submit a new Beta Build to Apple TestFlight"
desc "This will also make sure the profile is up to date"
lane :beta do
# match(type: "appstore") # more information: https://codesigning.guide
gym # Build your app - more options available
pilot
end
desc "Deploy a new version to the App Store"
lane :release do
# match(type: "appstore")
# snapshot
gym # Build your app - more options available
deliver(force: true)
# frameit
end
error do |lane, exception|
# slack(
# message: exception.message,
# success: false
# )
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment