fastlane 2.98.0 → 2.99.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +70 -70
- data/credentials_manager/lib/credentials_manager/appfile_config.rb +1 -1
- data/deliver/lib/assets/DeliverfileDefault +1 -1
- data/deliver/lib/assets/DeliverfileDefault.swift +1 -1
- data/deliver/lib/assets/summary.html.erb +1 -1
- data/deliver/lib/deliver/commands_generator.rb +2 -2
- data/deliver/lib/deliver/detect_values.rb +1 -1
- data/deliver/lib/deliver/download_screenshots.rb +1 -1
- data/deliver/lib/deliver/options.rb +3 -3
- data/deliver/lib/deliver/runner.rb +9 -9
- data/deliver/lib/deliver/submit_for_review.rb +3 -3
- data/deliver/lib/deliver/upload_metadata.rb +3 -3
- data/deliver/lib/deliver/upload_screenshots.rb +2 -2
- data/fastlane/lib/fastlane/actions/app_store_build_number.rb +3 -3
- data/fastlane/lib/fastlane/actions/cocoapods.rb +1 -0
- data/fastlane/lib/fastlane/actions/create_app_online.rb +1 -1
- data/fastlane/lib/fastlane/actions/docs/check_app_store_metadata.md +3 -3
- data/fastlane/lib/fastlane/actions/docs/create_app_online.md +8 -8
- data/fastlane/lib/fastlane/actions/docs/frame_screenshots.md +1 -1
- data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +2 -2
- data/fastlane/lib/fastlane/actions/docs/upload_to_app_store.md.erb +14 -14
- data/fastlane/lib/fastlane/actions/docs/upload_to_testflight.md +2 -2
- data/fastlane/lib/fastlane/actions/download_dsyms.rb +7 -7
- data/fastlane/lib/fastlane/actions/github_api.rb +2 -0
- data/fastlane/lib/fastlane/actions/latest_testflight_build_number.rb +2 -2
- data/fastlane/lib/fastlane/actions/set_changelog.rb +6 -6
- data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +1 -1
- data/fastlane/lib/fastlane/actions/upload_to_testflight.rb +1 -1
- data/fastlane/lib/fastlane/command_line_handler.rb +2 -2
- data/fastlane/lib/fastlane/commands_generator.rb +1 -0
- data/fastlane/lib/fastlane/fast_file.rb +8 -6
- data/fastlane/lib/fastlane/lane_manager.rb +0 -3
- data/fastlane/lib/fastlane/runner.rb +1 -9
- data/fastlane/lib/fastlane/server/socket_server.rb +4 -2
- data/fastlane/lib/fastlane/setup/setup_ios.rb +12 -12
- data/fastlane/lib/fastlane/swift_lane_manager.rb +9 -8
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Appfile.swift +1 -1
- data/fastlane/swift/ArgumentProcessor.swift +3 -1
- data/fastlane/swift/ControlCommand.swift +0 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +3 -3
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/LaneFileProtocol.swift +0 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/RubyCommand.swift +0 -1
- data/fastlane/swift/RubyCommandable.swift +0 -1
- data/fastlane/swift/Runner.swift +7 -7
- data/fastlane/swift/RunnerArgument.swift +0 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SocketClient.swift +0 -1
- data/fastlane/swift/SocketClientDelegateProtocol.swift +0 -1
- data/fastlane/swift/SocketResponse.swift +0 -1
- data/fastlane/swift/main.swift +2 -2
- data/fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb +10 -39
- data/fastlane_core/lib/fastlane_core/analytics/analytics_ingester_client.rb +34 -30
- data/fastlane_core/lib/fastlane_core/analytics/analytics_session.rb +16 -176
- data/fastlane_core/lib/fastlane_core/analytics/app_identifier_guesser.rb +1 -1
- data/fastlane_core/lib/fastlane_core/build_watcher.rb +2 -2
- data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +8 -8
- data/fastlane_core/lib/fastlane_core/module.rb +2 -5
- data/fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb +0 -1
- data/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb +5 -7
- data/gym/lib/gym/detect_values.rb +23 -0
- data/gym/lib/gym/generators/package_command_generator_xcode7.rb +1 -21
- data/match/lib/match/spaceship_ensure.rb +1 -1
- data/pilot/lib/pilot/build_manager.rb +2 -2
- data/pilot/lib/pilot/manager.rb +2 -2
- data/pilot/lib/pilot/options.rb +4 -4
- data/precheck/lib/precheck/options.rb +2 -2
- data/produce/lib/produce/commands_generator.rb +1 -1
- data/produce/lib/produce/developer_center.rb +1 -1
- data/produce/lib/produce/itunes_connect.rb +6 -6
- data/produce/lib/produce/options.rb +4 -4
- data/scan/lib/scan/test_command_generator.rb +6 -2
- data/screengrab/lib/screengrab/runner.rb +2 -2
- data/sigh/lib/sigh/runner.rb +6 -1
- data/snapshot/lib/assets/SnapshotHelper.swift +0 -1
- data/snapshot/lib/assets/SnapshotHelperXcode8.swift +0 -1
- data/spaceship/README.md +3 -3
- data/spaceship/lib/spaceship.rb +1 -1
- data/spaceship/lib/spaceship/client.rb +12 -7
- data/spaceship/lib/spaceship/du/du_client.rb +1 -1
- data/spaceship/lib/spaceship/errors.rb +1 -1
- data/spaceship/lib/spaceship/module.rb +1 -1
- data/spaceship/lib/spaceship/playground.rb +3 -3
- data/spaceship/lib/spaceship/portal/portal_client.rb +2 -2
- data/spaceship/lib/spaceship/spaceauth_runner.rb +5 -5
- data/spaceship/lib/spaceship/test_flight/client.rb +12 -1
- data/spaceship/lib/spaceship/test_flight/group.rb +1 -1
- data/spaceship/lib/spaceship/test_flight/tester.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_analytics.rb +143 -0
- data/spaceship/lib/spaceship/tunes/app_details.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_image.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_screenshot.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_status.rb +2 -2
- data/spaceship/lib/spaceship/tunes/app_submission.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_trailer.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_version.rb +6 -6
- data/spaceship/lib/spaceship/tunes/app_version_history.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_version_states_history.rb +1 -1
- data/spaceship/lib/spaceship/tunes/application.rb +15 -4
- data/spaceship/lib/spaceship/tunes/availability.rb +24 -8
- data/spaceship/lib/spaceship/tunes/b2b_user.rb +7 -2
- data/spaceship/lib/spaceship/tunes/build.rb +2 -2
- data/spaceship/lib/spaceship/tunes/build_details.rb +1 -1
- data/spaceship/lib/spaceship/tunes/build_train.rb +2 -2
- data/spaceship/lib/spaceship/tunes/errors.rb +1 -1
- data/spaceship/lib/spaceship/tunes/iap.rb +2 -2
- data/spaceship/lib/spaceship/tunes/iap_status.rb +1 -1
- data/spaceship/lib/spaceship/tunes/iap_type.rb +1 -1
- data/spaceship/lib/spaceship/tunes/tunes.rb +1 -0
- data/spaceship/lib/spaceship/tunes/tunes_client.rb +41 -13
- data/spaceship/lib/spaceship/two_step_client.rb +1 -1
- metadata +15 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e850aa0805832c85a1ee99ae450608db3fba1dfa
|
4
|
+
data.tar.gz: 7ab4eaab160bcb66ddddb987fb0dc32418786d50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89abe629b28e80fc42bd5b9b2e789512ff9fe9b9f2ae8913e960b09111b5148b84ecc4f7e80f090bab19c65188697eab78bb76008fcceb2d6be07d2f387f63f9
|
7
|
+
data.tar.gz: a6d129e388d0fa91dad9607445359f17da5baa1014ff1830aba26273d6aa5852acf1051e14c51a489bfbe266a46506163a6119e54e35a47151005eb84ff09fbe
|
data/README.md
CHANGED
@@ -32,38 +32,6 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
32
32
|
|
33
33
|
<table id='team'>
|
34
34
|
<tr>
|
35
|
-
<td id='jimmy-dee'>
|
36
|
-
<a href='https://github.com/jdee'>
|
37
|
-
<img src='https://github.com/jdee.png?size=140'>
|
38
|
-
</a>
|
39
|
-
<h4 align='center'>Jimmy Dee</h4>
|
40
|
-
</td>
|
41
|
-
<td id='helmut-januschka'>
|
42
|
-
<a href='https://github.com/hjanuschka'>
|
43
|
-
<img src='https://github.com/hjanuschka.png?size=140'>
|
44
|
-
</a>
|
45
|
-
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
46
|
-
</td>
|
47
|
-
<td id='jorge-revuelta-h'>
|
48
|
-
<a href='https://github.com/minuscorp'>
|
49
|
-
<img src='https://github.com/minuscorp.png?size=140'>
|
50
|
-
</a>
|
51
|
-
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
52
|
-
</td>
|
53
|
-
<td id='danielle-tomlinson'>
|
54
|
-
<a href='https://github.com/DanToml'>
|
55
|
-
<img src='https://github.com/DanToml.png?size=140'>
|
56
|
-
</a>
|
57
|
-
<h4 align='center'><a href='https://twitter.com/DanToml'>Danielle Tomlinson</a></h4>
|
58
|
-
</td>
|
59
|
-
<td id='olivier-halligon'>
|
60
|
-
<a href='https://github.com/AliSoftware'>
|
61
|
-
<img src='https://github.com/AliSoftware.png?size=140'>
|
62
|
-
</a>
|
63
|
-
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
64
|
-
</td>
|
65
|
-
</tr>
|
66
|
-
<tr>
|
67
35
|
<td id='stefan-natchev'>
|
68
36
|
<a href='https://github.com/snatchev'>
|
69
37
|
<img src='https://github.com/snatchev.png?size=140'>
|
@@ -76,37 +44,31 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
76
44
|
</a>
|
77
45
|
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
78
46
|
</td>
|
79
|
-
<td id='
|
80
|
-
<a href='https://github.com/
|
81
|
-
<img src='https://github.com/
|
47
|
+
<td id='jérôme-lacoste'>
|
48
|
+
<a href='https://github.com/lacostej'>
|
49
|
+
<img src='https://github.com/lacostej.png?size=140'>
|
82
50
|
</a>
|
83
|
-
<h4 align='center'><a href='https://twitter.com/
|
51
|
+
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
84
52
|
</td>
|
85
|
-
<td id='
|
86
|
-
<a href='https://github.com/
|
87
|
-
<img src='https://github.com/
|
53
|
+
<td id='andrew-mcburney'>
|
54
|
+
<a href='https://github.com/AndrewMcBurney'>
|
55
|
+
<img src='https://github.com/AndrewMcBurney.png?size=140'>
|
88
56
|
</a>
|
89
|
-
<h4 align='center'><a href='https://twitter.com/
|
57
|
+
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
90
58
|
</td>
|
91
|
-
<td id='
|
92
|
-
<a href='https://github.com/
|
93
|
-
<img src='https://github.com/
|
59
|
+
<td id='fumiya-nakamura'>
|
60
|
+
<a href='https://github.com/nafu'>
|
61
|
+
<img src='https://github.com/nafu.png?size=140'>
|
94
62
|
</a>
|
95
|
-
<h4 align='center'><a href='https://twitter.com/
|
63
|
+
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
|
96
64
|
</td>
|
97
65
|
</tr>
|
98
66
|
<tr>
|
99
|
-
<td id='
|
100
|
-
<a href='https://github.com/
|
101
|
-
<img src='https://github.com/
|
102
|
-
</a>
|
103
|
-
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
|
104
|
-
</td>
|
105
|
-
<td id='aaron-brager'>
|
106
|
-
<a href='https://github.com/getaaron'>
|
107
|
-
<img src='https://github.com/getaaron.png?size=140'>
|
67
|
+
<td id='iulian-onofrei'>
|
68
|
+
<a href='https://github.com/revolter'>
|
69
|
+
<img src='https://github.com/revolter.png?size=140'>
|
108
70
|
</a>
|
109
|
-
<h4 align='center'><a href='https://twitter.com/
|
71
|
+
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
110
72
|
</td>
|
111
73
|
<td id='kohki-miki'>
|
112
74
|
<a href='https://github.com/giginet'>
|
@@ -114,25 +76,31 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
114
76
|
</a>
|
115
77
|
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
116
78
|
</td>
|
117
|
-
<td id='
|
118
|
-
<a href='https://github.com/
|
119
|
-
<img src='https://github.com/
|
79
|
+
<td id='jan-piotrowski'>
|
80
|
+
<a href='https://github.com/janpio'>
|
81
|
+
<img src='https://github.com/janpio.png?size=140'>
|
120
82
|
</a>
|
121
|
-
<h4 align='center'><a href='https://twitter.com/
|
83
|
+
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
|
122
84
|
</td>
|
123
|
-
<td id='
|
124
|
-
<a href='https://github.com/
|
125
|
-
<img src='https://github.com/
|
85
|
+
<td id='olivier-halligon'>
|
86
|
+
<a href='https://github.com/AliSoftware'>
|
87
|
+
<img src='https://github.com/AliSoftware.png?size=140'>
|
126
88
|
</a>
|
127
|
-
<h4 align='center'><a href='https://twitter.com/
|
89
|
+
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
90
|
+
</td>
|
91
|
+
<td id='aaron-brager'>
|
92
|
+
<a href='https://github.com/getaaron'>
|
93
|
+
<img src='https://github.com/getaaron.png?size=140'>
|
94
|
+
</a>
|
95
|
+
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
128
96
|
</td>
|
129
97
|
</tr>
|
130
98
|
<tr>
|
131
|
-
<td id='
|
132
|
-
<a href='https://github.com/
|
133
|
-
<img src='https://github.com/
|
99
|
+
<td id='josh-holtz'>
|
100
|
+
<a href='https://github.com/joshdholtz'>
|
101
|
+
<img src='https://github.com/joshdholtz.png?size=140'>
|
134
102
|
</a>
|
135
|
-
<h4 align='center'><a href='https://twitter.com/
|
103
|
+
<h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
|
136
104
|
</td>
|
137
105
|
<td id='maksym-grebenets'>
|
138
106
|
<a href='https://github.com/mgrebenets'>
|
@@ -140,23 +108,55 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
140
108
|
</a>
|
141
109
|
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
142
110
|
</td>
|
111
|
+
<td id='jorge-revuelta-h'>
|
112
|
+
<a href='https://github.com/minuscorp'>
|
113
|
+
<img src='https://github.com/minuscorp.png?size=140'>
|
114
|
+
</a>
|
115
|
+
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
116
|
+
</td>
|
117
|
+
<td id='felix-krause'>
|
118
|
+
<a href='https://github.com/KrauseFx'>
|
119
|
+
<img src='https://github.com/KrauseFx.png?size=140'>
|
120
|
+
</a>
|
121
|
+
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
122
|
+
</td>
|
123
|
+
<td id='manu-wallner'>
|
124
|
+
<a href='https://github.com/milch'>
|
125
|
+
<img src='https://github.com/milch.png?size=140'>
|
126
|
+
</a>
|
127
|
+
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
128
|
+
</td>
|
129
|
+
</tr>
|
130
|
+
<tr>
|
131
|
+
<td id='jimmy-dee'>
|
132
|
+
<a href='https://github.com/jdee'>
|
133
|
+
<img src='https://github.com/jdee.png?size=140'>
|
134
|
+
</a>
|
135
|
+
<h4 align='center'>Jimmy Dee</h4>
|
136
|
+
</td>
|
143
137
|
<td id='luka-mirosevic'>
|
144
138
|
<a href='https://github.com/lmirosevic'>
|
145
139
|
<img src='https://github.com/lmirosevic.png?size=140'>
|
146
140
|
</a>
|
147
141
|
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
|
148
142
|
</td>
|
143
|
+
<td id='helmut-januschka'>
|
144
|
+
<a href='https://github.com/hjanuschka'>
|
145
|
+
<img src='https://github.com/hjanuschka.png?size=140'>
|
146
|
+
</a>
|
147
|
+
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
148
|
+
</td>
|
149
149
|
<td id='joshua-liebowitz'>
|
150
150
|
<a href='https://github.com/taquitos'>
|
151
151
|
<img src='https://github.com/taquitos.png?size=140'>
|
152
152
|
</a>
|
153
153
|
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
|
154
154
|
</td>
|
155
|
-
<td id='
|
156
|
-
<a href='https://github.com/
|
157
|
-
<img src='https://github.com/
|
155
|
+
<td id='danielle-tomlinson'>
|
156
|
+
<a href='https://github.com/DanToml'>
|
157
|
+
<img src='https://github.com/DanToml.png?size=140'>
|
158
158
|
</a>
|
159
|
-
<h4 align='center'><a href='https://twitter.com/
|
159
|
+
<h4 align='center'><a href='https://twitter.com/DanToml'>Danielle Tomlinson</a></h4>
|
160
160
|
</td>
|
161
161
|
</tr>
|
162
162
|
</table>
|
@@ -250,7 +250,7 @@
|
|
250
250
|
<% if options[:overwrite_screenshots] %>
|
251
251
|
<b>--overwrite_screenshots</b> is set, existing screenshots will be removed, but none will be uploaded.
|
252
252
|
<% else %>
|
253
|
-
The existing screenshots on
|
253
|
+
The existing screenshots on App Store Connect will be kept.
|
254
254
|
if you want to remove them you have to use the <i>--overwrite_screenshots</i> flag.
|
255
255
|
<% end %>
|
256
256
|
<p>
|
@@ -55,7 +55,7 @@ module Deliver
|
|
55
55
|
|
56
56
|
command :run do |c|
|
57
57
|
c.syntax = 'fastlane deliver'
|
58
|
-
c.description = 'Upload metadata and binary to
|
58
|
+
c.description = 'Upload metadata and binary to App Store Connect'
|
59
59
|
|
60
60
|
FastlaneCore::CommanderGenerator.new.generate(deliverfile_options, command: c)
|
61
61
|
|
@@ -135,7 +135,7 @@ module Deliver
|
|
135
135
|
|
136
136
|
command :download_screenshots do |c|
|
137
137
|
c.syntax = 'fastlane deliver download_screenshots'
|
138
|
-
c.description = "Downloads all existing screenshots from
|
138
|
+
c.description = "Downloads all existing screenshots from App Store Connect and stores them in the screenshots folder"
|
139
139
|
|
140
140
|
FastlaneCore::CommanderGenerator.new.generate(deliverfile_options, command: c)
|
141
141
|
|
@@ -42,7 +42,7 @@ module Deliver
|
|
42
42
|
if app
|
43
43
|
options[:app] = app
|
44
44
|
else
|
45
|
-
UI.user_error!("Could not find app with app identifier '#{options[:app_identifier]}' in your
|
45
|
+
UI.user_error!("Could not find app with app identifier '#{options[:app_identifier]}' in your App Store Connect account (#{options[:username]} - Team: #{Spaceship::Tunes.client.team_id})")
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
@@ -8,7 +8,7 @@ module Deliver
|
|
8
8
|
UI.success("Successfully downloaded all existing screenshots")
|
9
9
|
rescue => ex
|
10
10
|
UI.error(ex)
|
11
|
-
UI.error("Couldn't download already existing screenshots from
|
11
|
+
UI.error("Couldn't download already existing screenshots from App Store Connect.")
|
12
12
|
end
|
13
13
|
|
14
14
|
def self.download(options, folder_path)
|
@@ -89,7 +89,7 @@ module Deliver
|
|
89
89
|
description: "Path to the folder containing the screenshots",
|
90
90
|
optional: true),
|
91
91
|
FastlaneCore::ConfigItem.new(key: :skip_binary_upload,
|
92
|
-
description: "Skip uploading an ipa or pkg to
|
92
|
+
description: "Skip uploading an ipa or pkg to App Store Connect",
|
93
93
|
is_string: false,
|
94
94
|
default_value: false),
|
95
95
|
FastlaneCore::ConfigItem.new(key: :use_live_version,
|
@@ -175,7 +175,7 @@ module Deliver
|
|
175
175
|
FastlaneCore::ConfigItem.new(key: :team_id,
|
176
176
|
short_option: "-k",
|
177
177
|
env_name: "DELIVER_TEAM_ID",
|
178
|
-
description: "The ID of your
|
178
|
+
description: "The ID of your App Store Connect team if you're in multiple teams",
|
179
179
|
optional: true,
|
180
180
|
is_string: false, # as we also allow integers, which we convert to strings anyway
|
181
181
|
code_gen_sensitive: true,
|
@@ -187,7 +187,7 @@ module Deliver
|
|
187
187
|
FastlaneCore::ConfigItem.new(key: :team_name,
|
188
188
|
short_option: "-e",
|
189
189
|
env_name: "DELIVER_TEAM_NAME",
|
190
|
-
description: "The name of your
|
190
|
+
description: "The name of your App Store Connect team if you're in multiple teams",
|
191
191
|
optional: true,
|
192
192
|
code_gen_sensitive: true,
|
193
193
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
|
@@ -27,7 +27,7 @@ module Deliver
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def login
|
30
|
-
UI.message("Login to
|
30
|
+
UI.message("Login to App Store Connect (#{options[:username]})")
|
31
31
|
Spaceship::Tunes.login(options[:username])
|
32
32
|
Spaceship::Tunes.select_team
|
33
33
|
UI.message("Login successful")
|
@@ -42,7 +42,7 @@ module Deliver
|
|
42
42
|
upload_binary
|
43
43
|
end
|
44
44
|
|
45
|
-
UI.success("Finished the upload to
|
45
|
+
UI.success("Finished the upload to App Store Connect") unless options[:skip_binary_upload]
|
46
46
|
|
47
47
|
reject_version_if_possible if options[:reject_if_possible]
|
48
48
|
|
@@ -83,22 +83,22 @@ module Deliver
|
|
83
83
|
return precheck_success
|
84
84
|
end
|
85
85
|
|
86
|
-
# Make sure the version on
|
86
|
+
# Make sure the version on App Store Connect matches the one in the ipa
|
87
87
|
# If not, the new version will automatically be created
|
88
88
|
def verify_version
|
89
89
|
app_version = options[:app_version]
|
90
|
-
UI.message("Making sure the latest version on
|
90
|
+
UI.message("Making sure the latest version on App Store Connect matches '#{app_version}' from the ipa file...")
|
91
91
|
|
92
92
|
changed = options[:app].ensure_version!(app_version, platform: options[:platform])
|
93
93
|
|
94
94
|
if changed
|
95
95
|
UI.success("Successfully set the version to '#{app_version}'")
|
96
96
|
else
|
97
|
-
UI.success("'#{app_version}' is the latest version on
|
97
|
+
UI.success("'#{app_version}' is the latest version on App Store Connect")
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
-
# Upload all metadata, screenshots, pricing information, etc. to
|
101
|
+
# Upload all metadata, screenshots, pricing information, etc. to App Store Connect
|
102
102
|
def upload_metadata
|
103
103
|
upload_metadata = UploadMetadata.new
|
104
104
|
upload_screenshots = UploadScreenshots.new
|
@@ -137,9 +137,9 @@ module Deliver
|
|
137
137
|
options[:apple_watch_app_icon] ||= default_watch_icon_path if default_watch_icon_path && File.exist?(default_watch_icon_path)
|
138
138
|
end
|
139
139
|
|
140
|
-
# Upload the binary to
|
140
|
+
# Upload the binary to App Store Connect
|
141
141
|
def upload_binary
|
142
|
-
UI.message("Uploading binary to
|
142
|
+
UI.message("Uploading binary to App Store Connect")
|
143
143
|
if options[:ipa]
|
144
144
|
package_path = FastlaneCore::IpaUploadPackageBuilder.new.generate(
|
145
145
|
app_id: options[:app].apple_id,
|
@@ -158,7 +158,7 @@ module Deliver
|
|
158
158
|
|
159
159
|
transporter = FastlaneCore::ItunesTransporter.new(options[:username], nil, false, options[:itc_provider])
|
160
160
|
result = transporter.upload(options[:app].apple_id, package_path)
|
161
|
-
UI.user_error!("Could not upload binary to
|
161
|
+
UI.user_error!("Could not upload binary to App Store Connect. Check out the error above", show_github_issues: true) unless result
|
162
162
|
end
|
163
163
|
|
164
164
|
def reject_version_if_possible
|
@@ -60,10 +60,10 @@ module Deliver
|
|
60
60
|
build = find_build(app.latest_version.candidate_builds)
|
61
61
|
return build if build.processing == false
|
62
62
|
|
63
|
-
UI.message("Waiting
|
63
|
+
UI.message("Waiting App Store Connect processing for build #{build.train_version} (#{build.build_version})... this might take a while...")
|
64
64
|
if (Time.now - start) > (60 * 5)
|
65
65
|
UI.message("")
|
66
|
-
UI.message("You can tweet: \"
|
66
|
+
UI.message("You can tweet: \"App Store Connect #iosprocessingtime #{((Time.now - start) / 60).round} minutes\"")
|
67
67
|
end
|
68
68
|
sleep(30)
|
69
69
|
end
|
@@ -72,7 +72,7 @@ module Deliver
|
|
72
72
|
|
73
73
|
def find_build(candidate_builds)
|
74
74
|
if (candidate_builds || []).count == 0
|
75
|
-
UI.user_error!("Could not find any available candidate builds on
|
75
|
+
UI.user_error!("Could not find any available candidate builds on App Store Connect to submit")
|
76
76
|
end
|
77
77
|
|
78
78
|
build = candidate_builds.first
|
@@ -81,7 +81,7 @@ module Deliver
|
|
81
81
|
non_localised_options = NON_LOCALISED_LIVE_VALUES
|
82
82
|
|
83
83
|
if v.nil?
|
84
|
-
UI.message("Couldn't find live version, editing the current version on
|
84
|
+
UI.message("Couldn't find live version, editing the current version on App Store Connect instead")
|
85
85
|
v = app.edit_version(platform: options[:platform])
|
86
86
|
# we don't want to update the localised_options and non_localised_options
|
87
87
|
# as we also check for `options[:edit_live]` at other areas in the code
|
@@ -126,12 +126,12 @@ module Deliver
|
|
126
126
|
set_review_information(v, options)
|
127
127
|
set_app_rating(v, options)
|
128
128
|
|
129
|
-
Helper.show_loading_indicator("Uploading metadata to
|
129
|
+
Helper.show_loading_indicator("Uploading metadata to App Store Connect")
|
130
130
|
v.save!
|
131
131
|
Helper.hide_loading_indicator
|
132
132
|
begin
|
133
133
|
details.save!
|
134
|
-
UI.success("Successfully uploaded set of metadata to
|
134
|
+
UI.success("Successfully uploaded set of metadata to App Store Connect")
|
135
135
|
rescue Spaceship::TunesClient::ITunesConnectError => e
|
136
136
|
# This makes sure that we log invalid app names as user errors
|
137
137
|
# If another string needs to be checked here we should
|
@@ -5,7 +5,7 @@ require_relative 'module'
|
|
5
5
|
require_relative 'loader'
|
6
6
|
|
7
7
|
module Deliver
|
8
|
-
# upload screenshots to
|
8
|
+
# upload screenshots to App Store Connect
|
9
9
|
class UploadScreenshots
|
10
10
|
def upload(options, screenshots)
|
11
11
|
return if options[:skip_screenshots]
|
@@ -75,7 +75,7 @@ module Deliver
|
|
75
75
|
v = app.edit_version
|
76
76
|
Helper.hide_loading_indicator
|
77
77
|
end
|
78
|
-
UI.success("Successfully uploaded screenshots to
|
78
|
+
UI.success("Successfully uploaded screenshots to App Store Connect")
|
79
79
|
end
|
80
80
|
|
81
81
|
def collect_screenshots(options)
|
@@ -19,7 +19,7 @@ module Fastlane
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def self.get_build_number(params)
|
22
|
-
UI.message("Login to
|
22
|
+
UI.message("Login to App Store Connect (#{params[:username]})")
|
23
23
|
Spaceship::Tunes.login(params[:username])
|
24
24
|
Spaceship::Tunes.select_team
|
25
25
|
UI.message("Login successful")
|
@@ -105,7 +105,7 @@ module Fastlane
|
|
105
105
|
FastlaneCore::ConfigItem.new(key: :team_id,
|
106
106
|
short_option: "-k",
|
107
107
|
env_name: "APPSTORE_BUILD_NUMBER_LIVE_TEAM_ID",
|
108
|
-
description: "The ID of your
|
108
|
+
description: "The ID of your App Store Connect team if you're in multiple teams",
|
109
109
|
optional: true,
|
110
110
|
is_string: false, # as we also allow integers, which we convert to strings anyway
|
111
111
|
code_gen_sensitive: true,
|
@@ -138,7 +138,7 @@ module Fastlane
|
|
138
138
|
FastlaneCore::ConfigItem.new(key: :team_name,
|
139
139
|
short_option: "-e",
|
140
140
|
env_name: "LATEST_TESTFLIGHT_BUILD_NUMBER_TEAM_NAME",
|
141
|
-
description: "The name of your
|
141
|
+
description: "The name of your App Store Connect team if you're in multiple teams",
|
142
142
|
optional: true,
|
143
143
|
code_gen_sensitive: true,
|
144
144
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
|