fastlane 2.126.0.beta.20190603200020 → 2.126.0.beta.20190604200017

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: 506b85e3e022de76031fc7f62ad0359ccc7ed905
4
- data.tar.gz: 02a15d94bb200aef659757e18a08a4a77e2ea55c
3
+ metadata.gz: 38cf53af3f4ae8d41658e2ada1ce57432f54ed73
4
+ data.tar.gz: 1b5fa80251cacacd3300c3b279e14758d2946848
5
5
  SHA512:
6
- metadata.gz: 3df2e9456ec4bcc6367f3ce23f18c7309aa6d950164d690294a8f91779f5397051ba6618310a872a235e1196b316c9706785e5e3382a9e1c68347cc04fbb62c2
7
- data.tar.gz: fecb5bbf2ec9204fa62414b2475405fca1b2149ff17fded8bcedcb76eb6b2dff8d043cfa78a1b47d104612fd5c64eca9f56226ca61613de0b51a1316a5a6d7d6
6
+ metadata.gz: c50918c151ba028a3c11bad9d0cfb110e0f0effdef1150f0e155cac7d3e9d6d921380d90ea3b22f29a478ed863496e5c170b2677367eedf0fc5e7e7db2b91acf
7
+ data.tar.gz: 04c7ca76f020f67485a709156132cf38e7e9b6b51460fb49d945e74f29b89641d76a186272558d8b482fd6b731578af18708a778e2e589d8e6fe07ca00ed5a6b
data/README.md CHANGED
@@ -34,23 +34,29 @@ 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='joshua-liebowitz'>
38
- <a href='https://github.com/taquitos'>
39
- <img src='https://github.com/taquitos.png?size=140'>
37
+ <td id='maksym-grebenets'>
38
+ <a href='https://github.com/mgrebenets'>
39
+ <img src='https://github.com/mgrebenets.png?size=140'>
40
40
  </a>
41
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
41
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
42
42
  </td>
43
- <td id='jérôme-lacoste'>
44
- <a href='https://github.com/lacostej'>
45
- <img src='https://github.com/lacostej.png?size=140'>
43
+ <td id='andrew-mcburney'>
44
+ <a href='https://github.com/armcburney'>
45
+ <img src='https://github.com/armcburney.png?size=140'>
46
46
  </a>
47
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
47
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
48
48
  </td>
49
- <td id='felix-krause'>
50
- <a href='https://github.com/KrauseFx'>
51
- <img src='https://github.com/KrauseFx.png?size=140'>
49
+ <td id='manu-wallner'>
50
+ <a href='https://github.com/milch'>
51
+ <img src='https://github.com/milch.png?size=140'>
52
52
  </a>
53
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
53
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
54
+ </td>
55
+ <td id='fumiya-nakamura'>
56
+ <a href='https://github.com/nafu'>
57
+ <img src='https://github.com/nafu.png?size=140'>
58
+ </a>
59
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
54
60
  </td>
55
61
  <td id='luka-mirosevic'>
56
62
  <a href='https://github.com/lmirosevic'>
@@ -58,107 +64,101 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
58
64
  </a>
59
65
  <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
60
66
  </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'>
72
+ </a>
73
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
74
+ </td>
61
75
  <td id='danielle-tomlinson'>
62
76
  <a href='https://github.com/endocrimes'>
63
77
  <img src='https://github.com/endocrimes.png?size=140'>
64
78
  </a>
65
79
  <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
66
80
  </td>
67
- </tr>
68
- <tr>
69
81
  <td id='josh-holtz'>
70
82
  <a href='https://github.com/joshdholtz'>
71
83
  <img src='https://github.com/joshdholtz.png?size=140'>
72
84
  </a>
73
85
  <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
74
86
  </td>
75
- <td id='stefan-natchev'>
76
- <a href='https://github.com/snatchev'>
77
- <img src='https://github.com/snatchev.png?size=140'>
78
- </a>
79
- <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
80
- </td>
81
- <td id='matthew-ellis'>
82
- <a href='https://github.com/matthewellis'>
83
- <img src='https://github.com/matthewellis.png?size=140'>
84
- </a>
85
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
86
- </td>
87
87
  <td id='jimmy-dee'>
88
88
  <a href='https://github.com/jdee'>
89
89
  <img src='https://github.com/jdee.png?size=140'>
90
90
  </a>
91
91
  <h4 align='center'>Jimmy Dee</h4>
92
92
  </td>
93
- <td id='manu-wallner'>
94
- <a href='https://github.com/milch'>
95
- <img src='https://github.com/milch.png?size=140'>
93
+ <td id='jérôme-lacoste'>
94
+ <a href='https://github.com/lacostej'>
95
+ <img src='https://github.com/lacostej.png?size=140'>
96
96
  </a>
97
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
97
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
98
98
  </td>
99
99
  </tr>
100
100
  <tr>
101
- <td id='olivier-halligon'>
102
- <a href='https://github.com/AliSoftware'>
103
- <img src='https://github.com/AliSoftware.png?size=140'>
104
- </a>
105
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
106
- </td>
107
101
  <td id='kohki-miki'>
108
102
  <a href='https://github.com/giginet'>
109
103
  <img src='https://github.com/giginet.png?size=140'>
110
104
  </a>
111
105
  <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
112
106
  </td>
113
- <td id='jorge-revuelta-h'>
114
- <a href='https://github.com/minuscorp'>
115
- <img src='https://github.com/minuscorp.png?size=140'>
116
- </a>
117
- <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
118
- </td>
119
- <td id='jan-piotrowski'>
120
- <a href='https://github.com/janpio'>
121
- <img src='https://github.com/janpio.png?size=140'>
107
+ <td id='helmut-januschka'>
108
+ <a href='https://github.com/hjanuschka'>
109
+ <img src='https://github.com/hjanuschka.png?size=140'>
122
110
  </a>
123
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
111
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
124
112
  </td>
125
- <td id='fumiya-nakamura'>
126
- <a href='https://github.com/nafu'>
127
- <img src='https://github.com/nafu.png?size=140'>
113
+ <td id='joshua-liebowitz'>
114
+ <a href='https://github.com/taquitos'>
115
+ <img src='https://github.com/taquitos.png?size=140'>
128
116
  </a>
129
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
117
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
130
118
  </td>
131
- </tr>
132
- <tr>
133
- <td id='iulian-onofrei'>
134
- <a href='https://github.com/revolter'>
135
- <img src='https://github.com/revolter.png?size=140'>
119
+ <td id='olivier-halligon'>
120
+ <a href='https://github.com/AliSoftware'>
121
+ <img src='https://github.com/AliSoftware.png?size=140'>
136
122
  </a>
137
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
123
+ <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
138
124
  </td>
139
- <td id='andrew-mcburney'>
140
- <a href='https://github.com/armcburney'>
141
- <img src='https://github.com/armcburney.png?size=140'>
125
+ <td id='felix-krause'>
126
+ <a href='https://github.com/KrauseFx'>
127
+ <img src='https://github.com/KrauseFx.png?size=140'>
142
128
  </a>
143
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
129
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
144
130
  </td>
131
+ </tr>
132
+ <tr>
145
133
  <td id='aaron-brager'>
146
134
  <a href='https://github.com/getaaron'>
147
135
  <img src='https://github.com/getaaron.png?size=140'>
148
136
  </a>
149
137
  <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
150
138
  </td>
151
- <td id='helmut-januschka'>
152
- <a href='https://github.com/hjanuschka'>
153
- <img src='https://github.com/hjanuschka.png?size=140'>
139
+ <td id='jan-piotrowski'>
140
+ <a href='https://github.com/janpio'>
141
+ <img src='https://github.com/janpio.png?size=140'>
154
142
  </a>
155
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
143
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
156
144
  </td>
157
- <td id='maksym-grebenets'>
158
- <a href='https://github.com/mgrebenets'>
159
- <img src='https://github.com/mgrebenets.png?size=140'>
145
+ <td id='stefan-natchev'>
146
+ <a href='https://github.com/snatchev'>
147
+ <img src='https://github.com/snatchev.png?size=140'>
160
148
  </a>
161
- <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
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'>
154
+ </a>
155
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
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'>
160
+ </a>
161
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
162
162
  </td>
163
163
  </tr>
164
164
  </table>
@@ -32,36 +32,42 @@ 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
35
37
  else
36
38
  version_number = params[:version]
37
39
 
38
- # Get version number from latest pre-release if no version number given
40
+ # Create filter for get_builds with optional version number
41
+ filter = { app: app.apple_id }
39
42
  if version_number
40
- UI.message("Fetching the latest build number for version #{version_number}")
41
-
42
- # Get latest build for version number
43
- client = Spaceship::ConnectAPI::Base.client
44
- build = client.get_builds(filter: { app: app.apple_id, "preReleaseVersion.version" => version_number }, sort: "-version", limit: 1).first
45
- if build
46
- build_nr = build.version
47
- else
48
- UI.important("Could not find a build number for version #{version_number} on App Store Connect")
49
- end
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}")
50
+
51
+ # Get latest build for optional version number and return build number if found
52
+ 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
50
58
  end
51
59
 
52
- # Show error and set initial build number
53
- if build_nr
54
- UI.message("Latest upload for version #{version_number} is build: #{build_nr}")
55
- elsif params[:initial_build_number].nil?
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?
56
64
  UI.user_error!("Could not find a build on App Store Connect - and 'initial_build_number' option is not set")
57
65
  else
58
66
  build_nr = params[:initial_build_number]
59
- UI.message("Using initial build number of #{build_nr} for version #{version_number}")
67
+ UI.message("Using initial build number of #{build_nr}")
68
+ return build_nr
60
69
  end
61
-
62
70
  end
63
-
64
- build_nr
65
71
  end
66
72
 
67
73
  def self.order_versions(versions)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.126.0.beta.20190603200020'.freeze
2
+ VERSION = '2.126.0.beta.20190604200017'.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.1
21
+ // Generated with fastlane 2.125.2
@@ -18,4 +18,4 @@ class Gymfile: GymfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.1
21
+ // Generated with fastlane 2.125.2
@@ -18,4 +18,4 @@ class Matchfile: MatchfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.1
21
+ // Generated with fastlane 2.125.2
@@ -18,4 +18,4 @@ class Precheckfile: PrecheckfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.1
21
+ // Generated with fastlane 2.125.2
@@ -18,4 +18,4 @@ class Scanfile: ScanfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.1
21
+ // Generated with fastlane 2.125.2
@@ -18,4 +18,4 @@ class Screengrabfile: ScreengrabfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.1
21
+ // Generated with fastlane 2.125.2
@@ -18,4 +18,4 @@ class Snapshotfile: SnapshotfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.125.1
21
+ // Generated with fastlane 2.125.2
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.126.0.beta.20190603200020
4
+ version: 2.126.0.beta.20190604200017
5
5
  platform: ruby
6
6
  authors:
7
- - Maksym Grebenets
8
- - Jérôme Lacoste
9
- - Kohki Miki
10
- - Matthew Ellis
7
+ - Joshua Liebowitz
11
8
  - Stefan Natchev
12
- - Iulian Onofrei
9
+ - Andrew McBurney
13
10
  - Felix Krause
14
- - Jimmy Dee
15
11
  - Jorge Revuelta H
16
- - Aaron Brager
17
- - Joshua Liebowitz
18
- - Andrew McBurney
19
- - Olivier Halligon
20
- - Fumiya Nakamura
21
12
  - Manu Wallner
22
- - Helmut Januschka
23
- - Jan Piotrowski
24
- - Luka Mirosevic
25
13
  - Josh Holtz
14
+ - Matthew Ellis
15
+ - Luka Mirosevic
16
+ - Iulian Onofrei
17
+ - Jimmy Dee
26
18
  - Danielle Tomlinson
19
+ - Kohki Miki
20
+ - Maksym Grebenets
21
+ - Jan Piotrowski
22
+ - Aaron Brager
23
+ - Fumiya Nakamura
24
+ - Jérôme Lacoste
25
+ - Helmut Januschka
26
+ - Olivier Halligon
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2019-06-03 00:00:00.000000000 Z
30
+ date: 2019-06-04 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1724,24 +1724,24 @@ metadata:
1724
1724
  post_install_message:
1725
1725
  rdoc_options: []
1726
1726
  require_paths:
1727
- - match/lib
1728
- - snapshot/lib
1729
- - screengrab/lib
1730
- - pilot/lib
1731
- - precheck/lib
1732
- - gym/lib
1727
+ - sigh/lib
1733
1728
  - pem/lib
1734
- - cert/lib
1729
+ - deliver/lib
1730
+ - screengrab/lib
1731
+ - spaceship/lib
1735
1732
  - fastlane_core/lib
1733
+ - pilot/lib
1734
+ - match/lib
1735
+ - supply/lib
1736
1736
  - scan/lib
1737
+ - fastlane/lib
1737
1738
  - produce/lib
1738
- - sigh/lib
1739
- - deliver/lib
1739
+ - gym/lib
1740
1740
  - frameit/lib
1741
- - supply/lib
1741
+ - precheck/lib
1742
1742
  - credentials_manager/lib
1743
- - fastlane/lib
1744
- - spaceship/lib
1743
+ - cert/lib
1744
+ - snapshot/lib
1745
1745
  required_ruby_version: !ruby/object:Gem::Requirement
1746
1746
  requirements:
1747
1747
  - - ">="