Last active
July 27, 2017 22:31
-
-
Save olbrichj/60afd69838c45e7827cec194e43a4732 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
fastlane_version "2.49.0" | |
default_platform :ios | |
platform :ios do | |
before_all do | |
# ENV["SLACK_URL"] = "https://hooks.slack.com/services/..." | |
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 | |
# sh "your_script.sh" | |
# You can also use other beta testing services here (run `fastlane actions`) | |
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 | |
# You can define as many lanes as you want | |
after_all do |lane| | |
# This block is called, only if the executed lane was successful | |
# slack( | |
# message: "Successfully deployed new App Update." | |
# ) | |
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