Andreas Traczyk | 120ecee | 2017-11-22 16:25:11 -0500 | [diff] [blame] | 1 | # Customise this file, documentation can be found here: |
| 2 | # https://github.com/fastlane/fastlane/tree/master/fastlane/docs |
| 3 | # All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md |
| 4 | # can also be listed using the `fastlane actions` command |
| 5 | |
| 6 | # Change the syntax highlighting to Ruby |
| 7 | # All lines starting with a # are ignored when running `fastlane` |
| 8 | |
| 9 | # If you want to automatically update fastlane if a new version is available: |
| 10 | # update_fastlane |
| 11 | |
| 12 | # This is the minimum version number required. |
| 13 | # Update this, if you use features of a newer version |
| 14 | fastlane_version "2.68.0" |
| 15 | |
| 16 | default_platform :ios |
| 17 | |
| 18 | platform :ios do |
| 19 | desc "Runs all the tests" |
| 20 | lane :test do |
| 21 | scan |
| 22 | end |
| 23 | |
| 24 | desc "Test build without packaging" |
| 25 | lane :build do |
| 26 | unlock_keychain |
| 27 | match( |
| 28 | force: true, |
| 29 | type: "development" |
| 30 | ) |
| 31 | gym( |
| 32 | scheme: "Ring", |
| 33 | clean: true, |
| 34 | configuration: "Development", |
| 35 | export_method: 'development', |
Kateryna Kostiuk | ee65886 | 2019-11-04 13:41:33 -0500 | [diff] [blame^] | 36 | skip_codesigning: true, |
Andreas Traczyk | 120ecee | 2017-11-22 16:25:11 -0500 | [diff] [blame] | 37 | skip_package_ipa: true |
| 38 | ) |
| 39 | end |
| 40 | |
Kateryna Kostiuk | f24f715 | 2017-12-14 10:19:13 -0500 | [diff] [blame] | 41 | desc "Submit a new Beta Build to Apple TestFlight" |
| 42 | lane :beta do |
| 43 | ensure_git_status_clean |
| 44 | unlock_keychain |
| 45 | match( |
| 46 | type: "appstore" |
| 47 | ) |
| 48 | increment_build_number |
| 49 | gym( |
| 50 | scheme: "Ring", |
| 51 | clean: true, |
| 52 | configuration: "Release", |
| 53 | export_method: 'app-store', |
| 54 | ) |
| 55 | pilot( |
| 56 | skip_waiting_for_build_processing: true |
| 57 | ) |
Kateryna Kostiuk | f24f715 | 2017-12-14 10:19:13 -0500 | [diff] [blame] | 58 | end |
| 59 | |
Andreas Traczyk | 120ecee | 2017-11-22 16:25:11 -0500 | [diff] [blame] | 60 | after_all do |lane| |
| 61 | # This block is called, only if the executed lane was successful |
| 62 | end |
| 63 | |
| 64 | error do |lane, exception| |
| 65 | # This block is called, only if the executed lane has failed |
| 66 | end |
| 67 | end |