fastlane 2.135.1 → 2.135.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
  SHA256:
3
- metadata.gz: 2fe764bd3b1a32e200d3338929d3fa02a91deffd9479300b16769132fd42cabd
4
- data.tar.gz: 651915b3334ee1f7bde2fbade3c0669e587494569e02709572ac7baad44d7b12
3
+ metadata.gz: bc8a348892470f7c95c046a30e878eeb46a3364e29266d6e2eede8820cda60c9
4
+ data.tar.gz: a33412ac7217f0dfe530dcbee955c80c3290cdacabaef708ae9a755008470863
5
5
  SHA512:
6
- metadata.gz: 230ff3dc2b23e63be722cb1d6871d6663200ba62abd427d63aa0f5e571f982663951ae5eafa5ba8b60505a617be36ce4823ff6708064b22753f6b5d2a1fba10f
7
- data.tar.gz: 9528e57ea82bc5dffb36291132fb00d67c7f82b3740b69f64c238eb7c7969bc75cde2baf4bd34b1aef76af880eb487fa54cddf1b075ce90e8ff64cb5801216b1
6
+ metadata.gz: f1eb4a8112757f60290d56eb206f26039b5c47abf1999cd09fcfe29eb308596aa8e117057c4ea09e651c2d63526effae43ff9e0b8d577ce155fe9ff36a110e83
7
+ data.tar.gz: f071dcaa3f3a11baa944d5c6408a544a3f7f42d76ec9bdfa32d2a962717242587583e958d8bbd4c2dade656d0b95779c971ddaaabdb0f49da42a3ebcd4171b0b
data/README.md CHANGED
@@ -34,17 +34,11 @@ 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='felix-krause'>
38
- <a href='https://github.com/KrauseFx'>
39
- <img src='https://github.com/KrauseFx.png?size=140'>
40
- </a>
41
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
42
- </td>
43
- <td id='manu-wallner'>
44
- <a href='https://github.com/milch'>
45
- <img src='https://github.com/milch.png?size=140'>
37
+ <td id='iulian-onofrei'>
38
+ <a href='https://github.com/revolter'>
39
+ <img src='https://github.com/revolter.png?size=140'>
46
40
  </a>
47
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
41
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
48
42
  </td>
49
43
  <td id='stefan-natchev'>
50
44
  <a href='https://github.com/snatchev'>
@@ -52,113 +46,119 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
52
46
  </a>
53
47
  <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
54
48
  </td>
55
- <td id='maksym-grebenets'>
56
- <a href='https://github.com/mgrebenets'>
57
- <img src='https://github.com/mgrebenets.png?size=140'>
49
+ <td id='jorge-revuelta-h'>
50
+ <a href='https://github.com/minuscorp'>
51
+ <img src='https://github.com/minuscorp.png?size=140'>
58
52
  </a>
59
- <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
53
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
60
54
  </td>
61
- <td id='jimmy-dee'>
62
- <a href='https://github.com/jdee'>
63
- <img src='https://github.com/jdee.png?size=140'>
55
+ <td id='josh-holtz'>
56
+ <a href='https://github.com/joshdholtz'>
57
+ <img src='https://github.com/joshdholtz.png?size=140'>
64
58
  </a>
65
- <h4 align='center'>Jimmy Dee</h4>
59
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
60
+ </td>
61
+ <td id='danielle-tomlinson'>
62
+ <a href='https://github.com/endocrimes'>
63
+ <img src='https://github.com/endocrimes.png?size=140'>
64
+ </a>
65
+ <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
66
66
  </td>
67
67
  </tr>
68
68
  <tr>
69
- <td id='andrew-mcburney'>
70
- <a href='https://github.com/armcburney'>
71
- <img src='https://github.com/armcburney.png?size=140'>
69
+ <td id='joshua-liebowitz'>
70
+ <a href='https://github.com/taquitos'>
71
+ <img src='https://github.com/taquitos.png?size=140'>
72
72
  </a>
73
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
73
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
74
74
  </td>
75
- <td id='jorge-revuelta-h'>
76
- <a href='https://github.com/minuscorp'>
77
- <img src='https://github.com/minuscorp.png?size=140'>
75
+ <td id='olivier-halligon'>
76
+ <a href='https://github.com/AliSoftware'>
77
+ <img src='https://github.com/AliSoftware.png?size=140'>
78
78
  </a>
79
- <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
79
+ <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
80
80
  </td>
81
- <td id='helmut-januschka'>
82
- <a href='https://github.com/hjanuschka'>
83
- <img src='https://github.com/hjanuschka.png?size=140'>
81
+ <td id='maksym-grebenets'>
82
+ <a href='https://github.com/mgrebenets'>
83
+ <img src='https://github.com/mgrebenets.png?size=140'>
84
84
  </a>
85
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
85
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
86
86
  </td>
87
- <td id='iulian-onofrei'>
88
- <a href='https://github.com/revolter'>
89
- <img src='https://github.com/revolter.png?size=140'>
87
+ <td id='jérôme-lacoste'>
88
+ <a href='https://github.com/lacostej'>
89
+ <img src='https://github.com/lacostej.png?size=140'>
90
90
  </a>
91
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
91
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
92
92
  </td>
93
- <td id='matthew-ellis'>
94
- <a href='https://github.com/matthewellis'>
95
- <img src='https://github.com/matthewellis.png?size=140'>
93
+ <td id='kohki-miki'>
94
+ <a href='https://github.com/giginet'>
95
+ <img src='https://github.com/giginet.png?size=140'>
96
96
  </a>
97
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
97
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
98
98
  </td>
99
99
  </tr>
100
100
  <tr>
101
- <td id='fumiya-nakamura'>
102
- <a href='https://github.com/nafu'>
103
- <img src='https://github.com/nafu.png?size=140'>
101
+ <td id='andrew-mcburney'>
102
+ <a href='https://github.com/armcburney'>
103
+ <img src='https://github.com/armcburney.png?size=140'>
104
104
  </a>
105
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
105
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
106
106
  </td>
107
- <td id='jérôme-lacoste'>
108
- <a href='https://github.com/lacostej'>
109
- <img src='https://github.com/lacostej.png?size=140'>
107
+ <td id='luka-mirosevic'>
108
+ <a href='https://github.com/lmirosevic'>
109
+ <img src='https://github.com/lmirosevic.png?size=140'>
110
110
  </a>
111
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
111
+ <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
112
112
  </td>
113
- <td id='aaron-brager'>
114
- <a href='https://github.com/getaaron'>
115
- <img src='https://github.com/getaaron.png?size=140'>
113
+ <td id='jan-piotrowski'>
114
+ <a href='https://github.com/janpio'>
115
+ <img src='https://github.com/janpio.png?size=140'>
116
116
  </a>
117
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
117
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
118
118
  </td>
119
- <td id='danielle-tomlinson'>
120
- <a href='https://github.com/endocrimes'>
121
- <img src='https://github.com/endocrimes.png?size=140'>
119
+ <td id='fumiya-nakamura'>
120
+ <a href='https://github.com/nafu'>
121
+ <img src='https://github.com/nafu.png?size=140'>
122
122
  </a>
123
- <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
123
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
124
124
  </td>
125
- <td id='joshua-liebowitz'>
126
- <a href='https://github.com/taquitos'>
127
- <img src='https://github.com/taquitos.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'>
128
128
  </a>
129
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
129
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
130
130
  </td>
131
131
  </tr>
132
132
  <tr>
133
- <td id='olivier-halligon'>
134
- <a href='https://github.com/AliSoftware'>
135
- <img src='https://github.com/AliSoftware.png?size=140'>
133
+ <td id='manu-wallner'>
134
+ <a href='https://github.com/milch'>
135
+ <img src='https://github.com/milch.png?size=140'>
136
136
  </a>
137
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
137
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
138
138
  </td>
139
- <td id='jan-piotrowski'>
140
- <a href='https://github.com/janpio'>
141
- <img src='https://github.com/janpio.png?size=140'>
139
+ <td id='helmut-januschka'>
140
+ <a href='https://github.com/hjanuschka'>
141
+ <img src='https://github.com/hjanuschka.png?size=140'>
142
142
  </a>
143
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
143
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
144
144
  </td>
145
- <td id='luka-mirosevic'>
146
- <a href='https://github.com/lmirosevic'>
147
- <img src='https://github.com/lmirosevic.png?size=140'>
145
+ <td id='jimmy-dee'>
146
+ <a href='https://github.com/jdee'>
147
+ <img src='https://github.com/jdee.png?size=140'>
148
148
  </a>
149
- <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
149
+ <h4 align='center'>Jimmy Dee</h4>
150
150
  </td>
151
- <td id='kohki-miki'>
152
- <a href='https://github.com/giginet'>
153
- <img src='https://github.com/giginet.png?size=140'>
151
+ <td id='aaron-brager'>
152
+ <a href='https://github.com/getaaron'>
153
+ <img src='https://github.com/getaaron.png?size=140'>
154
154
  </a>
155
- <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
155
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
156
156
  </td>
157
- <td id='josh-holtz'>
158
- <a href='https://github.com/joshdholtz'>
159
- <img src='https://github.com/joshdholtz.png?size=140'>
157
+ <td id='matthew-ellis'>
158
+ <a href='https://github.com/matthewellis'>
159
+ <img src='https://github.com/matthewellis.png?size=140'>
160
160
  </a>
161
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
161
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
162
162
  </td>
163
163
  </tr>
164
164
  </table>
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.135.1'.freeze
2
+ VERSION = '2.135.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.135.1
21
+ // Generated with fastlane 2.135.2
@@ -6698,7 +6698,7 @@ func ssh(username: String,
6698
6698
  */
6699
6699
  func supply(packageName: String,
6700
6700
  versionName: String? = nil,
6701
- versionCode: String? = nil,
6701
+ versionCode: Int? = nil,
6702
6702
  releaseStatus: String = "completed",
6703
6703
  track: String = "production",
6704
6704
  rollout: String? = nil,
@@ -7720,7 +7720,7 @@ func uploadToAppStore(username: String,
7720
7720
  */
7721
7721
  func uploadToPlayStore(packageName: String,
7722
7722
  versionName: String? = nil,
7723
- versionCode: String? = nil,
7723
+ versionCode: Int? = nil,
7724
7724
  releaseStatus: String = "completed",
7725
7725
  track: String = "production",
7726
7726
  rollout: String? = nil,
@@ -8326,4 +8326,4 @@ let snapshotfile: Snapshotfile = Snapshotfile()
8326
8326
 
8327
8327
  // Please don't remove the lines below
8328
8328
  // They are used to detect outdated files
8329
- // FastlaneRunnerAPIVersion [0.9.62]
8329
+ // FastlaneRunnerAPIVersion [0.9.63]
@@ -18,4 +18,4 @@ class Gymfile: GymfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.135.1
21
+ // Generated with fastlane 2.135.2
@@ -18,4 +18,4 @@ class Matchfile: MatchfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.135.1
21
+ // Generated with fastlane 2.135.2
@@ -18,4 +18,4 @@ class Precheckfile: PrecheckfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.135.1
21
+ // Generated with fastlane 2.135.2
@@ -18,4 +18,4 @@ class Scanfile: ScanfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.135.1
21
+ // Generated with fastlane 2.135.2
@@ -18,4 +18,4 @@ class Screengrabfile: ScreengrabfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.135.1
21
+ // Generated with fastlane 2.135.2
@@ -18,4 +18,4 @@ class Snapshotfile: SnapshotfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.135.1
21
+ // Generated with fastlane 2.135.2
@@ -24,6 +24,7 @@ module Supply
24
24
  env_name: "SUPPLY_VERSION_CODE",
25
25
  short_option: "-C",
26
26
  optional: true,
27
+ type: Integer,
27
28
  description: "Version code (used when updating rollout or promoting specific versions)",
28
29
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:version_code),
29
30
  default_value_dynamic: true),
@@ -1,4 +1,5 @@
1
1
  module Supply
2
+ # rubocop:disable Metrics/ClassLength
2
3
  class Uploader
3
4
  def perform_upload
4
5
  FastlaneCore::PrintTable.print_values(config: Supply.config, hide_keys: [:issuer], mask_keys: [:json_key_data], title: "Summary for supply #{Fastlane::VERSION}")
@@ -47,7 +48,7 @@ module Supply
47
48
 
48
49
  track, release = fetch_track_and_release!(Supply.config[:track], version_code)
49
50
  UI.user_error!("Unable to find the requested track - '#{Supply.config[:track]}'") unless track
50
- UI.user_error!("Coult not find release for version code '#{version_code}' to update changelog") unless release
51
+ UI.user_error!("Could not find release for version code '#{version_code}' to update changelog") unless release
51
52
 
52
53
  release_notes = []
53
54
  all_languages.each do |language|
@@ -84,14 +85,13 @@ module Supply
84
85
  track = tracks.first
85
86
  releases = track.releases
86
87
  releases = releases.select { |r| r.status == status } if status
88
+ releases = releases.select { |r| r.version_codes.map(&:to_s).include?(version_code.to_s) }
87
89
 
88
90
  if releases.size > 1
89
91
  UI.user_error!("More than one release found in this track. Please specify with the :version_code option to select a release.")
90
92
  end
91
93
 
92
- release = releases.first { |r| r.version_codes.include?(version_code) }
93
-
94
- return track, release
94
+ return track, releases.first
95
95
  end
96
96
 
97
97
  def update_rollout
@@ -107,7 +107,7 @@ module Supply
107
107
  release.status = Supply::ReleaseStatus::COMPLETED if completed
108
108
 
109
109
  # Deleted other version codes if completed because only allowed on completed version in a release
110
- track.releases.delete_if { |r| !(r.version_codes || []).include?(version_code) } if completed
110
+ track.releases.delete_if { |r| !(r.version_codes || []).map(&:to_s).include?(version_code) } if completed
111
111
  else
112
112
  UI.user_error!("Unable to find version to rollout in track '#{Supply.config[:track]}'")
113
113
  end
@@ -129,7 +129,7 @@ module Supply
129
129
  UI.user_error!("Cannot provide both apk(s) and aab - use `skip_upload_apk`, `skip_upload_aab`, or make sure to remove any existing .apk or .aab files that are no longer needed")
130
130
  end
131
131
 
132
- if Supply.config[:release_status] == 'draft' && Supply.config[:rollout]
132
+ if Supply.config[:release_status] == Supply::ReleaseStatus::DRAFT && Supply.config[:rollout]
133
133
  UI.user_error!(%(Cannot specify rollout percentage when the release status is set to 'draft'))
134
134
  end
135
135
 
@@ -147,7 +147,7 @@ module Supply
147
147
  releases = track_from.releases
148
148
  if Supply.config[:version_code].to_s != ""
149
149
  releases = releases.select do |release|
150
- release.version_codes.include?(Supply.config[:version_code])
150
+ release.version_codes.include?(Supply.config[:version_code].to_s)
151
151
  end
152
152
  end
153
153
 
@@ -182,6 +182,8 @@ module Supply
182
182
  if File.exist?(path)
183
183
  UI.message("Updating changelog for '#{version_name}' and language '#{language}'...")
184
184
  changelog_text = File.read(path, encoding: 'UTF-8')
185
+ else
186
+ UI.message("Could not find changelog for '#{version_name}' and language '#{language}' at path #{path}...")
185
187
  end
186
188
 
187
189
  AndroidPublisher::LocalizedText.new({
@@ -421,4 +423,5 @@ module Supply
421
423
  end
422
424
  end
423
425
  end
426
+ # rubocop:enable Metrics/ClassLength
424
427
  end
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.135.1
4
+ version: 2.135.2
5
5
  platform: ruby
6
6
  authors:
7
- - Felix Krause
8
- - Joshua Liebowitz
9
- - Stefan Natchev
10
- - Iulian Onofrei
11
- - Manu Wallner
12
- - Luka Mirosevic
13
- - Josh Holtz
7
+ - Andrew McBurney
14
8
  - Jan Piotrowski
9
+ - Maksym Grebenets
15
10
  - Olivier Halligon
11
+ - Kohki Miki
12
+ - Iulian Onofrei
16
13
  - Danielle Tomlinson
17
- - Jorge Revuelta H
14
+ - Manu Wallner
15
+ - Luka Mirosevic
18
16
  - Helmut Januschka
17
+ - Josh Holtz
18
+ - Felix Krause
19
+ - Jérôme Lacoste
20
+ - Stefan Natchev
19
21
  - Aaron Brager
20
- - Kohki Miki
21
- - Fumiya Nakamura
22
- - Andrew McBurney
23
22
  - Jimmy Dee
24
- - Jérôme Lacoste
23
+ - Fumiya Nakamura
25
24
  - Matthew Ellis
26
- - Maksym Grebenets
25
+ - Jorge Revuelta H
26
+ - Joshua Liebowitz
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
@@ -986,7 +986,6 @@ files:
986
986
  - fastlane/lib/fastlane.rb
987
987
  - fastlane/lib/fastlane/action.rb
988
988
  - fastlane/lib/fastlane/action_collector.rb
989
- - fastlane/lib/fastlane/actions/.google_play_track_version_codes.rb.swp
990
989
  - fastlane/lib/fastlane/actions/README.md
991
990
  - fastlane/lib/fastlane/actions/actions_helper.rb
992
991
  - fastlane/lib/fastlane/actions/adb.rb
@@ -1732,6 +1731,8 @@ files:
1732
1731
  - spaceship/lib/spaceship/ui.rb
1733
1732
  - supply/README.md
1734
1733
  - supply/lib/supply.rb
1734
+ - supply/lib/supply/.options.rb.swp
1735
+ - supply/lib/supply/.uploader.rb.swp
1735
1736
  - supply/lib/supply/apk_listing.rb
1736
1737
  - supply/lib/supply/client.rb
1737
1738
  - supply/lib/supply/commands_generator.rb