fastlane 2.125.2 → 2.126.0.beta.20190601200101

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db6274ed5c5e43f845b644da2fffdc2a68fcf0d9
4
- data.tar.gz: 3b4396b487889aad683ee6896a1e8ca022eac3ce
3
+ metadata.gz: 8bf8875147409c75f9a15d9e002f436f929ebb96
4
+ data.tar.gz: '09e375a9883caab56151d98e7a94f0a00d132dfa'
5
5
  SHA512:
6
- metadata.gz: ae25ee6ff02a8ac19d45c1d36ceec729f19488b458afec0e4bd2205e60fe44629979fce932ed8686280b2adad7a495a568eeb08021ae4237903aefd8267a2113
7
- data.tar.gz: 1f82c068db82ee0d96a3a698ece9031e6d39930c1ba9a9f29ea1f9ca930a0db1ccf4678fd91970e2e50206beab53a61aaf3ecb557196434d91c21ee5ab298710
6
+ metadata.gz: 4f09f9bdff894ed33207658e204fb090d57684fb55b50723b63190493117fa31cbc8aa4251ed4ab8eb2e98be3b844e39f7e2ea7bd2fe715d06c9d6a3a4c69bad
7
+ data.tar.gz: bc8ead7c3c513d989c1c75b469c06b35d6944a88e685510062492c89584c39de7c5d083bf3d216d7eef726305a9a29a8acf6e151c331d7d0b3b753fc59bd9f45
data/README.md CHANGED
@@ -34,49 +34,61 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
34
34
  <!-- This table is regenerated and resorted on each release -->
35
35
  <table id='team'>
36
36
  <tr>
37
+ <td id='stefan-natchev'>
38
+ <a href='https://github.com/snatchev'>
39
+ <img src='https://github.com/snatchev.png?size=140'>
40
+ </a>
41
+ <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
42
+ </td>
43
+ <td id='jorge-revuelta-h'>
44
+ <a href='https://github.com/minuscorp'>
45
+ <img src='https://github.com/minuscorp.png?size=140'>
46
+ </a>
47
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
48
+ </td>
37
49
  <td id='maksym-grebenets'>
38
50
  <a href='https://github.com/mgrebenets'>
39
51
  <img src='https://github.com/mgrebenets.png?size=140'>
40
52
  </a>
41
53
  <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
42
54
  </td>
43
- <td id='andrew-mcburney'>
44
- <a href='https://github.com/armcburney'>
45
- <img src='https://github.com/armcburney.png?size=140'>
46
- </a>
47
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
48
- </td>
49
- <td id='manu-wallner'>
50
- <a href='https://github.com/milch'>
51
- <img src='https://github.com/milch.png?size=140'>
55
+ <td id='jérôme-lacoste'>
56
+ <a href='https://github.com/lacostej'>
57
+ <img src='https://github.com/lacostej.png?size=140'>
52
58
  </a>
53
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
59
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
54
60
  </td>
55
- <td id='fumiya-nakamura'>
56
- <a href='https://github.com/nafu'>
57
- <img src='https://github.com/nafu.png?size=140'>
61
+ <td id='matthew-ellis'>
62
+ <a href='https://github.com/matthewellis'>
63
+ <img src='https://github.com/matthewellis.png?size=140'>
58
64
  </a>
59
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
65
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
60
66
  </td>
67
+ </tr>
68
+ <tr>
61
69
  <td id='luka-mirosevic'>
62
70
  <a href='https://github.com/lmirosevic'>
63
71
  <img src='https://github.com/lmirosevic.png?size=140'>
64
72
  </a>
65
73
  <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
66
74
  </td>
67
- </tr>
68
- <tr>
69
- <td id='iulian-onofrei'>
70
- <a href='https://github.com/revolter'>
71
- <img src='https://github.com/revolter.png?size=140'>
75
+ <td id='felix-krause'>
76
+ <a href='https://github.com/KrauseFx'>
77
+ <img src='https://github.com/KrauseFx.png?size=140'>
72
78
  </a>
73
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
79
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
74
80
  </td>
75
- <td id='danielle-tomlinson'>
76
- <a href='https://github.com/endocrimes'>
77
- <img src='https://github.com/endocrimes.png?size=140'>
81
+ <td id='joshua-liebowitz'>
82
+ <a href='https://github.com/taquitos'>
83
+ <img src='https://github.com/taquitos.png?size=140'>
78
84
  </a>
79
- <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
85
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
86
+ </td>
87
+ <td id='manu-wallner'>
88
+ <a href='https://github.com/milch'>
89
+ <img src='https://github.com/milch.png?size=140'>
90
+ </a>
91
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
80
92
  </td>
81
93
  <td id='josh-holtz'>
82
94
  <a href='https://github.com/joshdholtz'>
@@ -84,81 +96,69 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
84
96
  </a>
85
97
  <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
86
98
  </td>
87
- <td id='jimmy-dee'>
88
- <a href='https://github.com/jdee'>
89
- <img src='https://github.com/jdee.png?size=140'>
99
+ </tr>
100
+ <tr>
101
+ <td id='jan-piotrowski'>
102
+ <a href='https://github.com/janpio'>
103
+ <img src='https://github.com/janpio.png?size=140'>
90
104
  </a>
91
- <h4 align='center'>Jimmy Dee</h4>
105
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
92
106
  </td>
93
- <td id='jérôme-lacoste'>
94
- <a href='https://github.com/lacostej'>
95
- <img src='https://github.com/lacostej.png?size=140'>
107
+ <td id='andrew-mcburney'>
108
+ <a href='https://github.com/armcburney'>
109
+ <img src='https://github.com/armcburney.png?size=140'>
96
110
  </a>
97
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
111
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
112
+ </td>
113
+ <td id='fumiya-nakamura'>
114
+ <a href='https://github.com/nafu'>
115
+ <img src='https://github.com/nafu.png?size=140'>
116
+ </a>
117
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
98
118
  </td>
99
- </tr>
100
- <tr>
101
119
  <td id='kohki-miki'>
102
120
  <a href='https://github.com/giginet'>
103
121
  <img src='https://github.com/giginet.png?size=140'>
104
122
  </a>
105
123
  <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
106
124
  </td>
107
- <td id='helmut-januschka'>
108
- <a href='https://github.com/hjanuschka'>
109
- <img src='https://github.com/hjanuschka.png?size=140'>
110
- </a>
111
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
112
- </td>
113
- <td id='joshua-liebowitz'>
114
- <a href='https://github.com/taquitos'>
115
- <img src='https://github.com/taquitos.png?size=140'>
125
+ <td id='danielle-tomlinson'>
126
+ <a href='https://github.com/endocrimes'>
127
+ <img src='https://github.com/endocrimes.png?size=140'>
116
128
  </a>
117
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
129
+ <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
118
130
  </td>
131
+ </tr>
132
+ <tr>
119
133
  <td id='olivier-halligon'>
120
134
  <a href='https://github.com/AliSoftware'>
121
135
  <img src='https://github.com/AliSoftware.png?size=140'>
122
136
  </a>
123
137
  <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
124
138
  </td>
125
- <td id='felix-krause'>
126
- <a href='https://github.com/KrauseFx'>
127
- <img src='https://github.com/KrauseFx.png?size=140'>
139
+ <td id='jimmy-dee'>
140
+ <a href='https://github.com/jdee'>
141
+ <img src='https://github.com/jdee.png?size=140'>
128
142
  </a>
129
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
143
+ <h4 align='center'>Jimmy Dee</h4>
130
144
  </td>
131
- </tr>
132
- <tr>
133
145
  <td id='aaron-brager'>
134
146
  <a href='https://github.com/getaaron'>
135
147
  <img src='https://github.com/getaaron.png?size=140'>
136
148
  </a>
137
149
  <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
138
150
  </td>
139
- <td id='jan-piotrowski'>
140
- <a href='https://github.com/janpio'>
141
- <img src='https://github.com/janpio.png?size=140'>
142
- </a>
143
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
144
- </td>
145
- <td id='stefan-natchev'>
146
- <a href='https://github.com/snatchev'>
147
- <img src='https://github.com/snatchev.png?size=140'>
148
- </a>
149
- <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
150
- </td>
151
- <td id='matthew-ellis'>
152
- <a href='https://github.com/matthewellis'>
153
- <img src='https://github.com/matthewellis.png?size=140'>
151
+ <td id='iulian-onofrei'>
152
+ <a href='https://github.com/revolter'>
153
+ <img src='https://github.com/revolter.png?size=140'>
154
154
  </a>
155
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
155
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
156
156
  </td>
157
- <td id='jorge-revuelta-h'>
158
- <a href='https://github.com/minuscorp'>
159
- <img src='https://github.com/minuscorp.png?size=140'>
157
+ <td id='helmut-januschka'>
158
+ <a href='https://github.com/hjanuschka'>
159
+ <img src='https://github.com/hjanuschka.png?size=140'>
160
160
  </a>
161
- <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
161
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
162
162
  </td>
163
163
  </tr>
164
164
  </table>
@@ -32,42 +32,46 @@ module Fastlane
32
32
  build_nr = app.live_version.current_build_number
33
33
 
34
34
  UI.message("Latest upload for live-version #{app.live_version.version} is build: #{build_nr}")
35
-
36
- return build_nr
37
35
  else
38
36
  version_number = params[:version]
39
37
 
40
- # Create filter for get_builds with optional version number
38
+ # Filter on app (and version is specified)
41
39
  filter = { app: app.apple_id }
42
- if version_number
43
- filter["preReleaseVersion.version"] = version_number
44
- version_number_message = "version #{version_number}"
45
- else
46
- version_number_message = "any version"
47
- end
48
-
49
- UI.message("Fetching the latest build number for #{version_number_message}")
40
+ filter["version"] = version_number if version_number
50
41
 
51
- # Get latest build for optional version number and return build number if found
42
+ # Get version number from latest pre-release if no version number given
52
43
  client = Spaceship::ConnectAPI::Base.client
53
- build = client.get_builds(filter: filter, sort: "-version", includes: "preReleaseVersion", limit: 1).first
54
- if build
55
- build_nr = build.version
56
- UI.message("Latest upload for version #{build.app_version} is build: #{build_nr}")
57
- return build_nr
44
+ version = client.get_pre_release_versions(filter: filter, sort: "-version", limit: 1).first
45
+ if version
46
+ # Need pre_release_version_id for filtering build numbers
47
+ pre_release_version_id = version["id"]
48
+ version_number = version["attributes"]["version"]
49
+
50
+ UI.message("Fetching the latest build number for version #{version_number}")
51
+
52
+ # Get latest build for version number
53
+ build = client.get_builds(filter: { app: app.apple_id, "preReleaseVersion" => pre_release_version_id }, sort: "-version", limit: 1).first
54
+ if build
55
+ build_nr = build["attributes"]["version"]
56
+ build_nr
57
+ else
58
+ UI.important("Could not find a build number for version #{version_number} on App Store Connect")
59
+ end
58
60
  end
59
61
 
60
- # Let user know that build couldn't be found
61
- UI.important("Could not find a build for #{version_number_message} on App Store Connect")
62
-
63
- if params[:initial_build_number].nil?
62
+ # Show error and set initial build number
63
+ if build_nr
64
+ UI.message("Latest upload for version #{version_number} is build: #{build_nr}")
65
+ elsif params[:initial_build_number].nil?
64
66
  UI.user_error!("Could not find a build on App Store Connect - and 'initial_build_number' option is not set")
65
67
  else
66
68
  build_nr = params[:initial_build_number]
67
- UI.message("Using initial build number of #{build_nr}")
68
- return build_nr
69
+ UI.message("Using initial build number of #{build_nr} for version #{version_number}")
69
70
  end
71
+
70
72
  end
73
+
74
+ build_nr
71
75
  end
72
76
 
73
77
  def self.order_versions(versions)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.125.2'.freeze
2
+ VERSION = '2.126.0.beta.20190601200101'.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.125.2
21
+ // Generated with fastlane 2.125.0
@@ -18,4 +18,4 @@ class Gymfile: GymfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.2
21
+ // Generated with fastlane 2.125.0
@@ -18,4 +18,4 @@ class Matchfile: MatchfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.2
21
+ // Generated with fastlane 2.125.0
@@ -18,4 +18,4 @@ class Precheckfile: PrecheckfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.2
21
+ // Generated with fastlane 2.125.0
@@ -18,4 +18,4 @@ class Scanfile: ScanfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.2
21
+ // Generated with fastlane 2.125.0
@@ -18,4 +18,4 @@ class Screengrabfile: ScreengrabfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.2
21
+ // Generated with fastlane 2.125.0
@@ -18,4 +18,4 @@ class Snapshotfile: SnapshotfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.2
21
+ // Generated with fastlane 2.125.0
@@ -10,7 +10,7 @@ module FastlaneCore
10
10
  def wait_for_build_processing_to_be_complete(app_id: nil, platform: nil, train_version: nil, app_version: nil, build_version: nil, poll_interval: 10, strict_build_watch: false, return_spaceship_testflight_build: true)
11
11
  # Warn about train_version being removed in the future
12
12
  if train_version
13
- UI.deprecated(":train_version is no longer a used argument on FastlaneCore::BuildWatcher. Please use :app_version instead.")
13
+ UI.deprecated(":train_version is no longer a used argument on FastlaneCore::BuildWatcher. Please use :app_verion instead.")
14
14
  end
15
15
  app_version = train_version
16
16
 
metadata CHANGED
@@ -1,33 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.125.2
4
+ version: 2.126.0.beta.20190601200101
5
5
  platform: ruby
6
6
  authors:
7
- - Joshua Liebowitz
8
- - Stefan Natchev
9
- - Andrew McBurney
10
7
  - Felix Krause
11
- - Jorge Revuelta H
12
- - Manu Wallner
13
- - Josh Holtz
14
- - Matthew Ellis
15
- - Luka Mirosevic
16
- - Iulian Onofrei
17
- - Jimmy Dee
18
8
  - Danielle Tomlinson
19
9
  - Kohki Miki
20
- - Maksym Grebenets
21
- - Jan Piotrowski
10
+ - Iulian Onofrei
22
11
  - Aaron Brager
23
- - Fumiya Nakamura
24
- - Jérôme Lacoste
25
12
  - Helmut Januschka
13
+ - Jérôme Lacoste
14
+ - Manu Wallner
15
+ - Jimmy Dee
16
+ - Jan Piotrowski
17
+ - Joshua Liebowitz
18
+ - Fumiya Nakamura
26
19
  - Olivier Halligon
20
+ - Stefan Natchev
21
+ - Matthew Ellis
22
+ - Josh Holtz
23
+ - Maksym Grebenets
24
+ - Luka Mirosevic
25
+ - Jorge Revuelta H
26
+ - Andrew McBurney
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2019-06-04 00:00:00.000000000 Z
30
+ date: 2019-06-01 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -980,9 +980,6 @@ files:
980
980
  - fastlane/lib/fastlane.rb
981
981
  - fastlane/lib/fastlane/action.rb
982
982
  - fastlane/lib/fastlane/action_collector.rb
983
- - fastlane/lib/fastlane/actions/.app_store_build_number.rb.swp
984
- - fastlane/lib/fastlane/actions/.slack.rb.swp
985
- - fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp
986
983
  - fastlane/lib/fastlane/actions/README.md
987
984
  - fastlane/lib/fastlane/actions/actions_helper.rb
988
985
  - fastlane/lib/fastlane/actions/adb.rb
@@ -1307,7 +1304,6 @@ files:
1307
1304
  - fastlane/swift/Fastlane.swift
1308
1305
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj
1309
1306
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
1310
- - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate
1311
1307
  - fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme
1312
1308
  - fastlane/swift/FastlaneSwiftRunner/README.txt
1313
1309
  - fastlane/swift/Gymfile.swift
@@ -1460,7 +1456,6 @@ files:
1460
1456
  - pem/lib/pem/options.rb
1461
1457
  - pilot/README.md
1462
1458
  - pilot/lib/pilot.rb
1463
- - pilot/lib/pilot/.manager.rb.swp
1464
1459
  - pilot/lib/pilot/build_manager.rb
1465
1460
  - pilot/lib/pilot/commands_generator.rb
1466
1461
  - pilot/lib/pilot/features.rb
@@ -1592,10 +1587,8 @@ files:
1592
1587
  - spaceship/lib/spaceship/client.rb
1593
1588
  - spaceship/lib/spaceship/commands_generator.rb
1594
1589
  - spaceship/lib/spaceship/connect_api.rb
1595
- - spaceship/lib/spaceship/connect_api/.DS_Store
1596
1590
  - spaceship/lib/spaceship/connect_api/base.rb
1597
1591
  - spaceship/lib/spaceship/connect_api/client.rb
1598
- - spaceship/lib/spaceship/connect_api/models/.app.rb.swp
1599
1592
  - spaceship/lib/spaceship/connect_api/models/app.rb
1600
1593
  - spaceship/lib/spaceship/connect_api/models/beta_app_localization.rb
1601
1594
  - spaceship/lib/spaceship/connect_api/models/beta_app_review_detail.rb
@@ -1731,24 +1724,24 @@ metadata:
1731
1724
  post_install_message:
1732
1725
  rdoc_options: []
1733
1726
  require_paths:
1734
- - credentials_manager/lib
1735
- - pem/lib
1736
- - snapshot/lib
1727
+ - spaceship/lib
1737
1728
  - frameit/lib
1738
- - match/lib
1739
- - fastlane_core/lib
1729
+ - fastlane/lib
1730
+ - credentials_manager/lib
1740
1731
  - deliver/lib
1732
+ - screengrab/lib
1733
+ - cert/lib
1734
+ - fastlane_core/lib
1741
1735
  - scan/lib
1736
+ - pem/lib
1737
+ - snapshot/lib
1742
1738
  - supply/lib
1743
- - cert/lib
1744
- - fastlane/lib
1745
- - spaceship/lib
1739
+ - precheck/lib
1746
1740
  - pilot/lib
1741
+ - match/lib
1742
+ - produce/lib
1747
1743
  - gym/lib
1748
- - precheck/lib
1749
- - screengrab/lib
1750
1744
  - sigh/lib
1751
- - produce/lib
1752
1745
  required_ruby_version: !ruby/object:Gem::Requirement
1753
1746
  requirements:
1754
1747
  - - ">="
@@ -1756,12 +1749,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
1756
1749
  version: 2.0.0
1757
1750
  required_rubygems_version: !ruby/object:Gem::Requirement
1758
1751
  requirements:
1759
- - - ">="
1752
+ - - ">"
1760
1753
  - !ruby/object:Gem::Version
1761
- version: '0'
1754
+ version: 1.3.1
1762
1755
  requirements: []
1763
1756
  rubyforge_project:
1764
- rubygems_version: 2.5.2.3
1757
+ rubygems_version: 2.6.8
1765
1758
  signing_key:
1766
1759
  specification_version: 4
1767
1760
  summary: The easiest way to automate beta deployments and releases for your iOS and