fastlane 2.86.0.beta.20180319050058 → 2.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3d0d310b7f14ded2d2b3ac5cb01333082237927
4
- data.tar.gz: c92d7c2bb26ddbe5323270f6fff42f0573f1b80e
3
+ metadata.gz: 73d25019959f694c82c1ccf03ff64a23b2c27afc
4
+ data.tar.gz: 972bd373c80ff49721a2509fefc5122b4b0748a4
5
5
  SHA512:
6
- metadata.gz: 7445aebd6efc1cf038c6125d263d7278d404e77668afd976033b4b44ff54fae15bf7ed68ab735493fa5e811f88ae4204b569bf08601a85501af8a295e0d70a5d
7
- data.tar.gz: 6b364956da929bdf4621a8c6c437b67ec3bc71769f2647eec5b7df1ef984f57fa57970fcb7da182ba74bd2759c3f82d8e9387e9c17804be47dc4a763e882cd84
6
+ metadata.gz: bdd03a2035981cd680d154c0b57aefb3241138aa659cd4c00294a25920cda6d4d565f91996ff50e12db6eba7646f6872e580ba467c9e7b413e310bbca6d3981c
7
+ data.tar.gz: 6da71ed2624bdc3988d42840dbb21990511c76d76a5b355218d5a14a2a837783aef99dd2c277021f41ddee6e451ddc21a73ac4c25daee6bc347cb421c58d418a
data/README.md CHANGED
@@ -30,17 +30,11 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
30
30
 
31
31
  <table id='team'>
32
32
  <tr>
33
- <td id='maksym-grebenets'>
34
- <a href='https://github.com/mgrebenets'>
35
- <img src='https://github.com/mgrebenets.png?size=140'>
36
- </a>
37
- <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
38
- </td>
39
- <td id='josh-holtz'>
40
- <a href='https://github.com/joshdholtz'>
41
- <img src='https://github.com/joshdholtz.png?size=140'>
33
+ <td id='matthew-ellis'>
34
+ <a href='https://github.com/matthewellis'>
35
+ <img src='https://github.com/matthewellis.png?size=140'>
42
36
  </a>
43
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
37
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
44
38
  </td>
45
39
  <td id='jérôme-lacoste'>
46
40
  <a href='https://github.com/lacostej'>
@@ -48,57 +42,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
48
42
  </a>
49
43
  <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
50
44
  </td>
51
- <td id='andrew-mcburney'>
52
- <a href='https://github.com/AndrewMcBurney'>
53
- <img src='https://github.com/AndrewMcBurney.png?size=140'>
45
+ <td id='felix-krause'>
46
+ <a href='https://github.com/KrauseFx'>
47
+ <img src='https://github.com/KrauseFx.png?size=140'>
54
48
  </a>
55
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
49
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
56
50
  </td>
57
- <td id='joshua-liebowitz'>
58
- <a href='https://github.com/taquitos'>
59
- <img src='https://github.com/taquitos.png?size=140'>
51
+ <td id='fumiya-nakamura'>
52
+ <a href='https://github.com/nafu'>
53
+ <img src='https://github.com/nafu.png?size=140'>
60
54
  </a>
61
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
55
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
62
56
  </td>
63
- </tr>
64
- <tr>
65
57
  <td id='helmut-januschka'>
66
58
  <a href='https://github.com/hjanuschka'>
67
59
  <img src='https://github.com/hjanuschka.png?size=140'>
68
60
  </a>
69
61
  <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
70
62
  </td>
71
- <td id='iulian-onofrei'>
72
- <a href='https://github.com/revolter'>
73
- <img src='https://github.com/revolter.png?size=140'>
74
- </a>
75
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
76
- </td>
77
- <td id='aaron-brager'>
78
- <a href='https://github.com/getaaron'>
79
- <img src='https://github.com/getaaron.png?size=140'>
80
- </a>
81
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
82
- </td>
83
- <td id='jorge-revuelta-h'>
84
- <a href='https://github.com/minuscorp'>
85
- <img src='https://github.com/minuscorp.png?size=140'>
63
+ </tr>
64
+ <tr>
65
+ <td id='joshua-liebowitz'>
66
+ <a href='https://github.com/taquitos'>
67
+ <img src='https://github.com/taquitos.png?size=140'>
86
68
  </a>
87
- <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
69
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
88
70
  </td>
89
- <td id='kohki-miki'>
90
- <a href='https://github.com/giginet'>
91
- <img src='https://github.com/giginet.png?size=140'>
71
+ <td id='jimmy-dee'>
72
+ <a href='https://github.com/jdee'>
73
+ <img src='https://github.com/jdee.png?size=140'>
92
74
  </a>
93
- <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
75
+ <h4 align='center'>Jimmy Dee</h4>
94
76
  </td>
95
- </tr>
96
- <tr>
97
- <td id='luka-mirosevic'>
98
- <a href='https://github.com/lmirosevic'>
99
- <img src='https://github.com/lmirosevic.png?size=140'>
77
+ <td id='stefan-natchev'>
78
+ <a href='https://github.com/snatchev'>
79
+ <img src='https://github.com/snatchev.png?size=140'>
100
80
  </a>
101
- <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
81
+ <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
102
82
  </td>
103
83
  <td id='manu-wallner'>
104
84
  <a href='https://github.com/milch'>
@@ -106,17 +86,31 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
106
86
  </a>
107
87
  <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
108
88
  </td>
89
+ <td id='jorge-revuelta-h'>
90
+ <a href='https://github.com/minuscorp'>
91
+ <img src='https://github.com/minuscorp.png?size=140'>
92
+ </a>
93
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
94
+ </td>
95
+ </tr>
96
+ <tr>
109
97
  <td id='olivier-halligon'>
110
98
  <a href='https://github.com/AliSoftware'>
111
99
  <img src='https://github.com/AliSoftware.png?size=140'>
112
100
  </a>
113
101
  <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
114
102
  </td>
115
- <td id='matthew-ellis'>
116
- <a href='https://github.com/matthewellis'>
117
- <img src='https://github.com/matthewellis.png?size=140'>
103
+ <td id='kohki-miki'>
104
+ <a href='https://github.com/giginet'>
105
+ <img src='https://github.com/giginet.png?size=140'>
118
106
  </a>
119
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
107
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
108
+ </td>
109
+ <td id='maksym-grebenets'>
110
+ <a href='https://github.com/mgrebenets'>
111
+ <img src='https://github.com/mgrebenets.png?size=140'>
112
+ </a>
113
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
120
114
  </td>
121
115
  <td id='jan-piotrowski'>
122
116
  <a href='https://github.com/janpio'>
@@ -124,25 +118,37 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
124
118
  </a>
125
119
  <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
126
120
  </td>
121
+ <td id='iulian-onofrei'>
122
+ <a href='https://github.com/revolter'>
123
+ <img src='https://github.com/revolter.png?size=140'>
124
+ </a>
125
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
126
+ </td>
127
127
  </tr>
128
128
  <tr>
129
- <td id='felix-krause'>
130
- <a href='https://github.com/KrauseFx'>
131
- <img src='https://github.com/KrauseFx.png?size=140'>
129
+ <td id='josh-holtz'>
130
+ <a href='https://github.com/joshdholtz'>
131
+ <img src='https://github.com/joshdholtz.png?size=140'>
132
132
  </a>
133
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
133
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
134
134
  </td>
135
- <td id='jimmy-dee'>
136
- <a href='https://github.com/jdee'>
137
- <img src='https://github.com/jdee.png?size=140'>
135
+ <td id='luka-mirosevic'>
136
+ <a href='https://github.com/lmirosevic'>
137
+ <img src='https://github.com/lmirosevic.png?size=140'>
138
138
  </a>
139
- <h4 align='center'>Jimmy Dee</h4>
139
+ <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
140
140
  </td>
141
- <td id='fumiya-nakamura'>
142
- <a href='https://github.com/nafu'>
143
- <img src='https://github.com/nafu.png?size=140'>
141
+ <td id='andrew-mcburney'>
142
+ <a href='https://github.com/AndrewMcBurney'>
143
+ <img src='https://github.com/AndrewMcBurney.png?size=140'>
144
144
  </a>
145
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
145
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
146
+ </td>
147
+ <td id='aaron-brager'>
148
+ <a href='https://github.com/getaaron'>
149
+ <img src='https://github.com/getaaron.png?size=140'>
150
+ </a>
151
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
146
152
  </td>
147
153
  <td id='danielle-tomlinson'>
148
154
  <a href='https://github.com/DanToml'>
@@ -150,12 +156,6 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
150
156
  </a>
151
157
  <h4 align='center'><a href='https://twitter.com/DanToml'>Danielle Tomlinson</a></h4>
152
158
  </td>
153
- <td id='stefan-natchev'>
154
- <a href='https://github.com/snatchev'>
155
- <img src='https://github.com/snatchev.png?size=140'>
156
- </a>
157
- <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
158
- </td>
159
159
  </tr>
160
160
  </table>
161
161
 
@@ -16,6 +16,10 @@ module Fastlane
16
16
  else
17
17
  error_message = "Git repository is dirty! Please ensure the repo is in a clean state by committing/stashing/discarding all changes first."
18
18
  error_message += "\nUncommitted changes:\n#{repo_status}" if params[:show_uncommitted_changes]
19
+ if params[:show_diff]
20
+ repo_diff = Actions.sh("git diff")
21
+ error_message += "\nGit diff: \n#{repo_diff}"
22
+ end
19
23
  UI.user_error!(error_message)
20
24
  end
21
25
  end
@@ -55,6 +59,12 @@ module Fastlane
55
59
  description: "The flag whether to show uncommitted changes if the repo is dirty",
56
60
  optional: true,
57
61
  default_value: false,
62
+ is_string: false),
63
+ FastlaneCore::ConfigItem.new(key: :show_diff,
64
+ env_name: "FL_ENSURE_GIT_STATUS_CLEAN_SHOW_DIFF",
65
+ description: "The flag whether to show the git diff if the repo is dirty",
66
+ optional: true,
67
+ default_value: false,
58
68
  is_string: false)
59
69
  ]
60
70
  end
@@ -0,0 +1,56 @@
1
+ module Fastlane
2
+ module Actions
3
+ class GitSubmoduleUpdateAction < Action
4
+ def self.run(params)
5
+ commands = ["git submodule update"]
6
+ commands += ["--init"] if params[:init]
7
+ commands += ["--recursive"] if params[:recursive]
8
+ Actions.sh(commands.join(' '))
9
+ end
10
+
11
+ #####################################################
12
+ # @!group Documentation
13
+ #####################################################
14
+
15
+ def self.description
16
+ "Executes a git submodule command"
17
+ end
18
+
19
+ def self.details
20
+ nil
21
+ end
22
+
23
+ def self.available_options
24
+ [
25
+ FastlaneCore::ConfigItem.new(key: :recursive,
26
+ description: "Should the submodules be updated recursively",
27
+ type: Boolean,
28
+ default_value: false),
29
+ FastlaneCore::ConfigItem.new(key: :init,
30
+ description: "Should the submodules be initiated before update",
31
+ type: Boolean,
32
+ is_string: false,
33
+ default_value: false)
34
+ ]
35
+ end
36
+
37
+ def self.output
38
+ end
39
+
40
+ def self.return_value
41
+ end
42
+
43
+ def self.authors
44
+ ["braunico"]
45
+ end
46
+
47
+ def self.is_supported?(platform)
48
+ return true
49
+ end
50
+
51
+ def self.category
52
+ :source_control
53
+ end
54
+ end
55
+ end
56
+ end
@@ -54,6 +54,7 @@ module Fastlane
54
54
  spinner.auto_spin
55
55
 
56
56
  ios_projects = Dir["**/*.xcodeproj"] + Dir["**/*.xcworkspace"]
57
+ ios_projects.delete_if { |path| path.match("fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj") }
57
58
  android_projects = Dir["**/*.gradle"]
58
59
 
59
60
  spinner.success
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.86.0.beta.20180319050058'.freeze
2
+ VERSION = '2.86.0'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -18,4 +18,4 @@ class Deliverfile: DeliverfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.85.0
21
+ // Generated with fastlane 2.86.0
@@ -16,6 +16,7 @@ protocol DeliverfileProtocol: class {
16
16
  var skipAppVersionUpdate: Bool { get }
17
17
  var force: Bool { get }
18
18
  var submitForReview: Bool { get }
19
+ var rejectIfPossible: Bool { get }
19
20
  var automaticRelease: Bool { get }
20
21
  var autoReleaseDate: String? { get }
21
22
  var phasedRelease: Bool { get }
@@ -74,6 +75,7 @@ extension DeliverfileProtocol {
74
75
  var skipAppVersionUpdate: Bool { return false }
75
76
  var force: Bool { return false }
76
77
  var submitForReview: Bool { return false }
78
+ var rejectIfPossible: Bool { return false }
77
79
  var automaticRelease: Bool { return false }
78
80
  var autoReleaseDate: String? { return nil }
79
81
  var phasedRelease: Bool { return false }
@@ -116,4 +118,4 @@ extension DeliverfileProtocol {
116
118
 
117
119
  // Please don't remove the lines below
118
120
  // They are used to detect outdated files
119
- // FastlaneRunnerAPIVersion [0.9.2]
121
+ // FastlaneRunnerAPIVersion [0.9.3]
@@ -238,6 +238,7 @@ func appstore(username: String,
238
238
  skipAppVersionUpdate: Bool = false,
239
239
  force: Bool = false,
240
240
  submitForReview: Bool = false,
241
+ rejectIfPossible: Bool = false,
241
242
  automaticRelease: Bool = false,
242
243
  autoReleaseDate: String? = nil,
243
244
  phasedRelease: Bool = false,
@@ -293,6 +294,7 @@ func appstore(username: String,
293
294
  RubyCommand.Argument(name: "skip_app_version_update", value: skipAppVersionUpdate),
294
295
  RubyCommand.Argument(name: "force", value: force),
295
296
  RubyCommand.Argument(name: "submit_for_review", value: submitForReview),
297
+ RubyCommand.Argument(name: "reject_if_possible", value: rejectIfPossible),
296
298
  RubyCommand.Argument(name: "automatic_release", value: automaticRelease),
297
299
  RubyCommand.Argument(name: "auto_release_date", value: autoReleaseDate),
298
300
  RubyCommand.Argument(name: "phased_release", value: phasedRelease),
@@ -696,6 +698,7 @@ func captureAndroidScreenshots(androidHome: String? = nil,
696
698
  func captureIosScreenshots(workspace: String? = nil,
697
699
  project: String? = nil,
698
700
  xcargs: String? = nil,
701
+ xcconfig: String? = nil,
699
702
  devices: [String]? = nil,
700
703
  languages: [String] = ["en-US"],
701
704
  launchArguments: [String] = [""],
@@ -727,6 +730,7 @@ func captureIosScreenshots(workspace: String? = nil,
727
730
  let command = RubyCommand(commandID: "", methodName: "capture_ios_screenshots", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
728
731
  RubyCommand.Argument(name: "project", value: project),
729
732
  RubyCommand.Argument(name: "xcargs", value: xcargs),
733
+ RubyCommand.Argument(name: "xcconfig", value: xcconfig),
730
734
  RubyCommand.Argument(name: "devices", value: devices),
731
735
  RubyCommand.Argument(name: "languages", value: languages),
732
736
  RubyCommand.Argument(name: "launch_arguments", value: launchArguments),
@@ -760,6 +764,7 @@ func captureIosScreenshots(workspace: String? = nil,
760
764
  func captureScreenshots(workspace: String? = nil,
761
765
  project: String? = nil,
762
766
  xcargs: String? = nil,
767
+ xcconfig: String? = nil,
763
768
  devices: [String]? = nil,
764
769
  languages: [String] = ["en-US"],
765
770
  launchArguments: [String] = [""],
@@ -791,6 +796,7 @@ func captureScreenshots(workspace: String? = nil,
791
796
  let command = RubyCommand(commandID: "", methodName: "capture_screenshots", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
792
797
  RubyCommand.Argument(name: "project", value: project),
793
798
  RubyCommand.Argument(name: "xcargs", value: xcargs),
799
+ RubyCommand.Argument(name: "xcconfig", value: xcconfig),
794
800
  RubyCommand.Argument(name: "devices", value: devices),
795
801
  RubyCommand.Argument(name: "languages", value: languages),
796
802
  RubyCommand.Argument(name: "launch_arguments", value: launchArguments),
@@ -1155,6 +1161,14 @@ func danger(useBundleExec: Bool = true,
1155
1161
  RubyCommand.Argument(name: "pr", value: pr)])
1156
1162
  _ = runner.executeCommand(command)
1157
1163
  }
1164
+ func debug() {
1165
+ let command = RubyCommand(commandID: "", methodName: "debug", className: nil, args: [])
1166
+ _ = runner.executeCommand(command)
1167
+ }
1168
+ func defaultPlatform() {
1169
+ let command = RubyCommand(commandID: "", methodName: "default_platform", className: nil, args: [])
1170
+ _ = runner.executeCommand(command)
1171
+ }
1158
1172
  func deleteKeychain(name: String? = nil,
1159
1173
  keychainPath: String? = nil) {
1160
1174
  let command = RubyCommand(commandID: "", methodName: "delete_keychain", className: nil, args: [RubyCommand.Argument(name: "name", value: name),
@@ -1178,6 +1192,7 @@ func deliver(username: String = deliverfile.username,
1178
1192
  skipAppVersionUpdate: Bool = deliverfile.skipAppVersionUpdate,
1179
1193
  force: Bool = deliverfile.force,
1180
1194
  submitForReview: Bool = deliverfile.submitForReview,
1195
+ rejectIfPossible: Bool = deliverfile.rejectIfPossible,
1181
1196
  automaticRelease: Bool = deliverfile.automaticRelease,
1182
1197
  autoReleaseDate: String? = deliverfile.autoReleaseDate,
1183
1198
  phasedRelease: Bool = deliverfile.phasedRelease,
@@ -1233,6 +1248,7 @@ func deliver(username: String = deliverfile.username,
1233
1248
  RubyCommand.Argument(name: "skip_app_version_update", value: skipAppVersionUpdate),
1234
1249
  RubyCommand.Argument(name: "force", value: force),
1235
1250
  RubyCommand.Argument(name: "submit_for_review", value: submitForReview),
1251
+ RubyCommand.Argument(name: "reject_if_possible", value: rejectIfPossible),
1236
1252
  RubyCommand.Argument(name: "automatic_release", value: automaticRelease),
1237
1253
  RubyCommand.Argument(name: "auto_release_date", value: autoReleaseDate),
1238
1254
  RubyCommand.Argument(name: "phased_release", value: phasedRelease),
@@ -1333,8 +1349,10 @@ func ensureGitBranch(branch: String = "master") {
1333
1349
  let command = RubyCommand(commandID: "", methodName: "ensure_git_branch", className: nil, args: [RubyCommand.Argument(name: "branch", value: branch)])
1334
1350
  _ = runner.executeCommand(command)
1335
1351
  }
1336
- func ensureGitStatusClean(showUncommittedChanges: Bool = false) {
1337
- let command = RubyCommand(commandID: "", methodName: "ensure_git_status_clean", className: nil, args: [RubyCommand.Argument(name: "show_uncommitted_changes", value: showUncommittedChanges)])
1352
+ func ensureGitStatusClean(showUncommittedChanges: Bool = false,
1353
+ showDiff: Bool = false) {
1354
+ let command = RubyCommand(commandID: "", methodName: "ensure_git_status_clean", className: nil, args: [RubyCommand.Argument(name: "show_uncommitted_changes", value: showUncommittedChanges),
1355
+ RubyCommand.Argument(name: "show_diff", value: showDiff)])
1338
1356
  _ = runner.executeCommand(command)
1339
1357
  }
1340
1358
  func ensureNoDebugCode(text: String,
@@ -1371,6 +1389,10 @@ func erb(template: String,
1371
1389
  RubyCommand.Argument(name: "placeholders", value: placeholders)])
1372
1390
  _ = runner.executeCommand(command)
1373
1391
  }
1392
+ func fastlaneVersion() {
1393
+ let command = RubyCommand(commandID: "", methodName: "fastlane_version", className: nil, args: [])
1394
+ _ = runner.executeCommand(command)
1395
+ }
1374
1396
  func flock(message: String,
1375
1397
  token: String,
1376
1398
  baseUrl: String = "https://api.flock.co/hooks/sendMessage") {
@@ -1544,11 +1566,11 @@ func getPushCertificate(development: Bool = false,
1544
1566
  _ = runner.executeCommand(command)
1545
1567
  }
1546
1568
  @discardableResult func getVersionNumber(xcodeproj: String? = nil,
1547
- scheme: String? = nil,
1548
- target: String? = nil) -> String {
1569
+ target: String? = nil,
1570
+ configuration: String? = nil) -> String {
1549
1571
  let command = RubyCommand(commandID: "", methodName: "get_version_number", className: nil, args: [RubyCommand.Argument(name: "xcodeproj", value: xcodeproj),
1550
- RubyCommand.Argument(name: "scheme", value: scheme),
1551
- RubyCommand.Argument(name: "target", value: target)])
1572
+ RubyCommand.Argument(name: "target", value: target),
1573
+ RubyCommand.Argument(name: "configuration", value: configuration)])
1552
1574
  return runner.executeCommand(command)
1553
1575
  }
1554
1576
  func gitAdd(path: String? = nil,
@@ -1571,6 +1593,12 @@ func gitPull(onlyTags: Bool = false) {
1571
1593
  let command = RubyCommand(commandID: "", methodName: "git_pull", className: nil, args: [RubyCommand.Argument(name: "only_tags", value: onlyTags)])
1572
1594
  _ = runner.executeCommand(command)
1573
1595
  }
1596
+ func gitSubmoduleUpdate(recursive: Bool = false,
1597
+ `init`: Bool = false) {
1598
+ let command = RubyCommand(commandID: "", methodName: "git_submodule_update", className: nil, args: [RubyCommand.Argument(name: "recursive", value: recursive),
1599
+ RubyCommand.Argument(name: "init", value: `init`)])
1600
+ _ = runner.executeCommand(command)
1601
+ }
1574
1602
  func gitTagExists(tag: String) {
1575
1603
  let command = RubyCommand(commandID: "", methodName: "git_tag_exists", className: nil, args: [RubyCommand.Argument(name: "tag", value: tag)])
1576
1604
  _ = runner.executeCommand(command)
@@ -1731,6 +1759,10 @@ func hgCommitVersionBump(message: String = "Version Bump",
1731
1759
  RubyCommand.Argument(name: "test_expected_files", value: testExpectedFiles)])
1732
1760
  _ = runner.executeCommand(command)
1733
1761
  }
1762
+ func hgEnsureCleanStatus() {
1763
+ let command = RubyCommand(commandID: "", methodName: "hg_ensure_clean_status", className: nil, args: [])
1764
+ _ = runner.executeCommand(command)
1765
+ }
1734
1766
  func hgPush(force: Bool = false,
1735
1767
  destination: String = "") {
1736
1768
  let command = RubyCommand(commandID: "", methodName: "hg_push", className: nil, args: [RubyCommand.Argument(name: "force", value: force),
@@ -1937,6 +1969,10 @@ func laneContext() {
1937
1969
  let command = RubyCommand(commandID: "", methodName: "lane_context", className: nil, args: [])
1938
1970
  _ = runner.executeCommand(command)
1939
1971
  }
1972
+ @discardableResult func lastGitCommit() -> [String : String] {
1973
+ let command = RubyCommand(commandID: "", methodName: "last_git_commit", className: nil, args: [])
1974
+ return parseDictionary(fromString: runner.executeCommand(command))
1975
+ }
1940
1976
  @discardableResult func lastGitTag() -> String {
1941
1977
  let command = RubyCommand(commandID: "", methodName: "last_git_tag", className: nil, args: [])
1942
1978
  return runner.executeCommand(command)
@@ -2053,6 +2089,10 @@ func match(gitUrl: String = matchfile.gitUrl,
2053
2089
  RubyCommand.Argument(name: "template_name", value: templateName)])
2054
2090
  _ = runner.executeCommand(command)
2055
2091
  }
2092
+ func minFastlaneVersion() {
2093
+ let command = RubyCommand(commandID: "", methodName: "min_fastlane_version", className: nil, args: [])
2094
+ _ = runner.executeCommand(command)
2095
+ }
2056
2096
  func modifyServices(username: String,
2057
2097
  appIdentifier: String,
2058
2098
  services: [String : Any] = [:],
@@ -2119,6 +2159,10 @@ func notification(title: String = "fastlane",
2119
2159
  RubyCommand.Argument(name: "execute", value: execute)])
2120
2160
  _ = runner.executeCommand(command)
2121
2161
  }
2162
+ func notify() {
2163
+ let command = RubyCommand(commandID: "", methodName: "notify", className: nil, args: [])
2164
+ _ = runner.executeCommand(command)
2165
+ }
2122
2166
  @discardableResult func numberOfCommits(all: String? = nil) -> Int {
2123
2167
  let command = RubyCommand(commandID: "", methodName: "number_of_commits", className: nil, args: [RubyCommand.Argument(name: "all", value: all)])
2124
2168
  return parseInt(fromString: runner.executeCommand(command))
@@ -2175,6 +2219,14 @@ func onesignal(authToken: String,
2175
2219
  RubyCommand.Argument(name: "apns_env", value: apnsEnv)])
2176
2220
  _ = runner.executeCommand(command)
2177
2221
  }
2222
+ func optOutCrashReporting() {
2223
+ let command = RubyCommand(commandID: "", methodName: "opt_out_crash_reporting", className: nil, args: [])
2224
+ _ = runner.executeCommand(command)
2225
+ }
2226
+ func optOutUsage() {
2227
+ let command = RubyCommand(commandID: "", methodName: "opt_out_usage", className: nil, args: [])
2228
+ _ = runner.executeCommand(command)
2229
+ }
2178
2230
  func pem(development: Bool = false,
2179
2231
  generateP12: Bool = true,
2180
2232
  activeDaysLimit: Int = 30,
@@ -2501,6 +2553,10 @@ func rubocop() {
2501
2553
  let command = RubyCommand(commandID: "", methodName: "rubocop", className: nil, args: [])
2502
2554
  _ = runner.executeCommand(command)
2503
2555
  }
2556
+ func rubyVersion() {
2557
+ let command = RubyCommand(commandID: "", methodName: "ruby_version", className: nil, args: [])
2558
+ _ = runner.executeCommand(command)
2559
+ }
2504
2560
  func runTests(workspace: String? = nil,
2505
2561
  project: String? = nil,
2506
2562
  device: String? = nil,
@@ -2615,6 +2671,10 @@ func s3(ipa: String? = nil,
2615
2671
  RubyCommand.Argument(name: "acl", value: acl)])
2616
2672
  _ = runner.executeCommand(command)
2617
2673
  }
2674
+ func say() {
2675
+ let command = RubyCommand(commandID: "", methodName: "say", className: nil, args: [])
2676
+ _ = runner.executeCommand(command)
2677
+ }
2618
2678
  func scan(workspace: String? = scanfile.workspace,
2619
2679
  project: String? = scanfile.project,
2620
2680
  device: String? = scanfile.device,
@@ -2893,6 +2953,10 @@ func sigh(adhoc: Bool = false,
2893
2953
  RubyCommand.Argument(name: "template_name", value: templateName)])
2894
2954
  _ = runner.executeCommand(command)
2895
2955
  }
2956
+ func skipDocs() {
2957
+ let command = RubyCommand(commandID: "", methodName: "skip_docs", className: nil, args: [])
2958
+ _ = runner.executeCommand(command)
2959
+ }
2896
2960
  func slack(message: String? = nil,
2897
2961
  channel: String? = nil,
2898
2962
  useWebhookConfiguredUsernameAndIcon: Bool = false,
@@ -2921,6 +2985,10 @@ func slackTrain() {
2921
2985
  let command = RubyCommand(commandID: "", methodName: "slack_train", className: nil, args: [])
2922
2986
  _ = runner.executeCommand(command)
2923
2987
  }
2988
+ func slackTrainCrash() {
2989
+ let command = RubyCommand(commandID: "", methodName: "slack_train_crash", className: nil, args: [])
2990
+ _ = runner.executeCommand(command)
2991
+ }
2924
2992
  func slackTrainStart(distance: Int = 5,
2925
2993
  train: String = "🚝",
2926
2994
  rail: String = "=",
@@ -2992,6 +3060,7 @@ func slather(buildDirectory: String? = nil,
2992
3060
  func snapshot(workspace: String? = snapshotfile.workspace,
2993
3061
  project: String? = snapshotfile.project,
2994
3062
  xcargs: String? = snapshotfile.xcargs,
3063
+ xcconfig: String? = snapshotfile.xcconfig,
2995
3064
  devices: [String]? = snapshotfile.devices,
2996
3065
  languages: [String] = snapshotfile.languages,
2997
3066
  launchArguments: [String] = snapshotfile.launchArguments,
@@ -3023,6 +3092,7 @@ func snapshot(workspace: String? = snapshotfile.workspace,
3023
3092
  let command = RubyCommand(commandID: "", methodName: "snapshot", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
3024
3093
  RubyCommand.Argument(name: "project", value: project),
3025
3094
  RubyCommand.Argument(name: "xcargs", value: xcargs),
3095
+ RubyCommand.Argument(name: "xcconfig", value: xcconfig),
3026
3096
  RubyCommand.Argument(name: "devices", value: devices),
3027
3097
  RubyCommand.Argument(name: "languages", value: languages),
3028
3098
  RubyCommand.Argument(name: "launch_arguments", value: launchArguments),
@@ -3227,6 +3297,14 @@ func syncCodeSigning(gitUrl: String,
3227
3297
  RubyCommand.Argument(name: "template_name", value: templateName)])
3228
3298
  _ = runner.executeCommand(command)
3229
3299
  }
3300
+ func teamId() {
3301
+ let command = RubyCommand(commandID: "", methodName: "team_id", className: nil, args: [])
3302
+ _ = runner.executeCommand(command)
3303
+ }
3304
+ func teamName() {
3305
+ let command = RubyCommand(commandID: "", methodName: "team_name", className: nil, args: [])
3306
+ _ = runner.executeCommand(command)
3307
+ }
3230
3308
  func testfairy(apiKey: String,
3231
3309
  ipa: String,
3232
3310
  symbolsFile: String? = nil,
@@ -3480,6 +3558,7 @@ func uploadToAppStore(username: String,
3480
3558
  skipAppVersionUpdate: Bool = false,
3481
3559
  force: Bool = false,
3482
3560
  submitForReview: Bool = false,
3561
+ rejectIfPossible: Bool = false,
3483
3562
  automaticRelease: Bool = false,
3484
3563
  autoReleaseDate: String? = nil,
3485
3564
  phasedRelease: Bool = false,
@@ -3535,6 +3614,7 @@ func uploadToAppStore(username: String,
3535
3614
  RubyCommand.Argument(name: "skip_app_version_update", value: skipAppVersionUpdate),
3536
3615
  RubyCommand.Argument(name: "force", value: force),
3537
3616
  RubyCommand.Argument(name: "submit_for_review", value: submitForReview),
3617
+ RubyCommand.Argument(name: "reject_if_possible", value: rejectIfPossible),
3538
3618
  RubyCommand.Argument(name: "automatic_release", value: automaticRelease),
3539
3619
  RubyCommand.Argument(name: "auto_release_date", value: autoReleaseDate),
3540
3620
  RubyCommand.Argument(name: "phased_release", value: phasedRelease),
@@ -3685,6 +3765,10 @@ func verifyBuild(provisioningType: String? = nil,
3685
3765
  RubyCommand.Argument(name: "ipa_path", value: ipaPath)])
3686
3766
  _ = runner.executeCommand(command)
3687
3767
  }
3768
+ func verifyPodKeys() {
3769
+ let command = RubyCommand(commandID: "", methodName: "verify_pod_keys", className: nil, args: [])
3770
+ _ = runner.executeCommand(command)
3771
+ }
3688
3772
  func verifyXcode(xcodePath: String) {
3689
3773
  let command = RubyCommand(commandID: "", methodName: "verify_xcode", className: nil, args: [RubyCommand.Argument(name: "xcode_path", value: xcodePath)])
3690
3774
  _ = runner.executeCommand(command)
@@ -3731,6 +3815,10 @@ func xcexport() {
3731
3815
  RubyCommand.Argument(name: "team_id", value: teamId)])
3732
3816
  return runner.executeCommand(command)
3733
3817
  }
3818
+ func xcodeSelect() {
3819
+ let command = RubyCommand(commandID: "", methodName: "xcode_select", className: nil, args: [])
3820
+ _ = runner.executeCommand(command)
3821
+ }
3734
3822
  @discardableResult func xcodeServerGetAssets(host: String,
3735
3823
  botName: String,
3736
3824
  integrationNumber: String? = nil,
@@ -3761,6 +3849,10 @@ func xctest() {
3761
3849
  let command = RubyCommand(commandID: "", methodName: "xctest", className: nil, args: [])
3762
3850
  _ = runner.executeCommand(command)
3763
3851
  }
3852
+ func xctool() {
3853
+ let command = RubyCommand(commandID: "", methodName: "xctool", className: nil, args: [])
3854
+ _ = runner.executeCommand(command)
3855
+ }
3764
3856
  func xcversion(version: String) {
3765
3857
  let command = RubyCommand(commandID: "", methodName: "xcversion", className: nil, args: [RubyCommand.Argument(name: "version", value: version)])
3766
3858
  _ = runner.executeCommand(command)
@@ -3819,4 +3911,4 @@ let screengrabfile: Screengrabfile = Screengrabfile()
3819
3911
  let snapshotfile: Snapshotfile = Snapshotfile()
3820
3912
  // Please don't remove the lines below
3821
3913
  // They are used to detect outdated files
3822
- // FastlaneRunnerAPIVersion [0.9.8]
3914
+ // FastlaneRunnerAPIVersion [0.9.9]
@@ -18,4 +18,4 @@ class Gymfile: GymfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.85.0
21
+ // Generated with fastlane 2.86.0
@@ -18,4 +18,4 @@ class Matchfile: MatchfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.85.0
21
+ // Generated with fastlane 2.86.0
@@ -18,4 +18,4 @@ class Precheckfile: PrecheckfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.85.0
21
+ // Generated with fastlane 2.86.0
@@ -18,4 +18,4 @@ class Scanfile: ScanfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.85.0
21
+ // Generated with fastlane 2.86.0
@@ -18,4 +18,4 @@ class Screengrabfile: ScreengrabfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.85.0
21
+ // Generated with fastlane 2.86.0
@@ -18,4 +18,4 @@ class Snapshotfile: SnapshotfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.85.0
21
+ // Generated with fastlane 2.86.0
@@ -2,6 +2,7 @@ protocol SnapshotfileProtocol: class {
2
2
  var workspace: String? { get }
3
3
  var project: String? { get }
4
4
  var xcargs: String? { get }
5
+ var xcconfig: String? { get }
5
6
  var devices: [String]? { get }
6
7
  var languages: [String] { get }
7
8
  var launchArguments: [String] { get }
@@ -36,6 +37,7 @@ extension SnapshotfileProtocol {
36
37
  var workspace: String? { return nil }
37
38
  var project: String? { return nil }
38
39
  var xcargs: String? { return nil }
40
+ var xcconfig: String? { return nil }
39
41
  var devices: [String]? { return nil }
40
42
  var languages: [String] { return ["en-US"] }
41
43
  var launchArguments: [String] { return [""] }
@@ -66,7 +68,6 @@ extension SnapshotfileProtocol {
66
68
  var concurrentSimulators: Bool { return true }
67
69
  }
68
70
 
69
-
70
71
  // Please don't remove the lines below
71
72
  // They are used to detect outdated files
72
- // FastlaneRunnerAPIVersion [0.9.2]
73
+ // FastlaneRunnerAPIVersion [0.9.3]
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.86.0.beta.20180319050058
4
+ version: 2.86.0
5
5
  platform: ruby
6
6
  authors:
7
- - Maksym Grebenets
8
- - Luka Mirosevic
7
+ - Jérôme Lacoste
8
+ - Jimmy Dee
9
9
  - Fumiya Nakamura
10
- - Andrew McBurney
10
+ - Joshua Liebowitz
11
+ - Aaron Brager
12
+ - Jorge Revuelta H
13
+ - Manu Wallner
14
+ - Luka Mirosevic
11
15
  - Olivier Halligon
16
+ - Andrew McBurney
17
+ - Jan Piotrowski
18
+ - Maksym Grebenets
12
19
  - Helmut Januschka
13
- - Kohki Miki
14
- - Matthew Ellis
15
- - Danielle Tomlinson
16
- - Jérôme Lacoste
17
20
  - Iulian Onofrei
18
- - Jimmy Dee
21
+ - Danielle Tomlinson
22
+ - Josh Holtz
19
23
  - Stefan Natchev
20
- - Aaron Brager
21
- - Jan Piotrowski
22
- - Joshua Liebowitz
23
- - Manu Wallner
24
+ - Matthew Ellis
24
25
  - Felix Krause
25
- - Jorge Revuelta H
26
- - Josh Holtz
26
+ - Kohki Miki
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
@@ -1012,6 +1012,7 @@ files:
1012
1012
  - fastlane/lib/fastlane/actions/git_branch.rb
1013
1013
  - fastlane/lib/fastlane/actions/git_commit.rb
1014
1014
  - fastlane/lib/fastlane/actions/git_pull.rb
1015
+ - fastlane/lib/fastlane/actions/git_submodule_update.rb
1015
1016
  - fastlane/lib/fastlane/actions/git_tag_exists.rb
1016
1017
  - fastlane/lib/fastlane/actions/github_api.rb
1017
1018
  - fastlane/lib/fastlane/actions/google_play_track_version_codes.rb
@@ -1621,23 +1622,23 @@ post_install_message:
1621
1622
  rdoc_options: []
1622
1623
  require_paths:
1623
1624
  - credentials_manager/lib
1624
- - spaceship/lib
1625
- - produce/lib
1626
- - supply/lib
1627
- - sigh/lib
1628
- - precheck/lib
1629
- - cert/lib
1630
- - fastlane_core/lib
1631
- - snapshot/lib
1632
- - scan/lib
1633
- - match/lib
1634
- - gym/lib
1635
1625
  - pem/lib
1626
+ - snapshot/lib
1636
1627
  - frameit/lib
1637
- - pilot/lib
1628
+ - match/lib
1629
+ - fastlane_core/lib
1638
1630
  - deliver/lib
1639
- - screengrab/lib
1631
+ - scan/lib
1632
+ - supply/lib
1633
+ - cert/lib
1640
1634
  - fastlane/lib
1635
+ - spaceship/lib
1636
+ - pilot/lib
1637
+ - gym/lib
1638
+ - precheck/lib
1639
+ - screengrab/lib
1640
+ - sigh/lib
1641
+ - produce/lib
1641
1642
  required_ruby_version: !ruby/object:Gem::Requirement
1642
1643
  requirements:
1643
1644
  - - ">="
@@ -1645,12 +1646,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
1645
1646
  version: 2.0.0
1646
1647
  required_rubygems_version: !ruby/object:Gem::Requirement
1647
1648
  requirements:
1648
- - - ">"
1649
+ - - ">="
1649
1650
  - !ruby/object:Gem::Version
1650
- version: 1.3.1
1651
+ version: '0'
1651
1652
  requirements: []
1652
1653
  rubyforge_project:
1653
- rubygems_version: 2.5.2.1
1654
+ rubygems_version: 2.5.2.2
1654
1655
  signing_key:
1655
1656
  specification_version: 4
1656
1657
  summary: The easiest way to automate beta deployments and releases for your iOS and