fastlane 2.125.1 → 2.125.2

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: 27fef9d132440ea0c12f57649cae3c95b8bbf22b
4
- data.tar.gz: 693c3f25c74eeb998002f3210d892e4cb1a00e2b
3
+ metadata.gz: db6274ed5c5e43f845b644da2fffdc2a68fcf0d9
4
+ data.tar.gz: 3b4396b487889aad683ee6896a1e8ca022eac3ce
5
5
  SHA512:
6
- metadata.gz: 1c205f9a2c0b5b96f7a5092272f1527d95227a762faf1c97e7972e3d5bbbe434608bb9267fdf8aba90e26c64ef278e3c50eeef73295e4f850e538bef9d8ffb83
7
- data.tar.gz: dab8bb594fe4b93f3829b1404649035c3e1302bfc0c616fbfbf2c6aaf2eb500fe369c3f9d8ae728a2cae1581af77436439d02a8baec4346952f2a1c7e6ec1465
6
+ metadata.gz: ae25ee6ff02a8ac19d45c1d36ceec729f19488b458afec0e4bd2205e60fe44629979fce932ed8686280b2adad7a495a568eeb08021ae4237903aefd8267a2113
7
+ data.tar.gz: 1f82c068db82ee0d96a3a698ece9031e6d39930c1ba9a9f29ea1f9ca930a0db1ccf4678fd91970e2e50206beab53a61aaf3ecb557196434d91c21ee5ab298710
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.125.1'.freeze
2
+ VERSION = '2.125.2'.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.125.1
4
+ version: 2.125.2
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
@@ -980,6 +980,7 @@ 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
983
984
  - fastlane/lib/fastlane/actions/.slack.rb.swp
984
985
  - fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp
985
986
  - fastlane/lib/fastlane/actions/README.md