Created
September 15, 2017 01:35
-
-
Save RishabhTayal/7d1df49e8e4d2f0be63a27786cd0208b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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