blob: 8f26e1b11a62195bc93ae3fdf41bfbed98f9826e [file] [log] [blame]
Andreas Traczyk120ecee2017-11-22 16:25:11 -05001# 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
14fastlane_version "2.68.0"
15
16default_platform :ios
17
18platform :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 Kostiukee658862019-11-04 13:41:33 -050036 skip_codesigning: true,
Andreas Traczyk120ecee2017-11-22 16:25:11 -050037 skip_package_ipa: true
38 )
39 end
40
Kateryna Kostiukf24f7152017-12-14 10:19:13 -050041 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 Kostiukf24f7152017-12-14 10:19:13 -050058 end
59
Andreas Traczyk120ecee2017-11-22 16:25:11 -050060 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
67end