fastlane 2.96.0.beta.20180510050112 → 2.96.0.beta.20180511050050

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: a9d139d279cc8f757713637043a24260cf9ecfd2
4
- data.tar.gz: 861d0dfe6c14d72959881884b2a43ba1fb488261
3
+ metadata.gz: ea4d5243558186be073d2b32830fc255844e199e
4
+ data.tar.gz: ee6cecd0244a18c870a898e562c1d0b0351103a7
5
5
  SHA512:
6
- metadata.gz: f251514377daec1fa90e64c30c4faa72152aae760bc92413ca25f2ffb0ba4b01a43ab9192003990c81fbe5106db9b6ce40aa0e1e1f3e0895e851cb39640db76b
7
- data.tar.gz: c22be4abe57e2f019c287b7ad0ebc4161c6dd60a53ab5491db36fae6d0afb926850a18ea6b4c908fb32d7765a87301907fe7574074d61e1bc7dc9723654fc879
6
+ metadata.gz: 4fb22ae751c6eb90a915a606c58037fa28daaf1f55faa5a301134134f1709404a71bf447adbbba90d5d8bf85866d5b21767b141b78dab443aacd97d8f9d13800
7
+ data.tar.gz: b10c96c4e1c81160d5ea0a35afb6a254452ead4c18515fe9ad9e14f4097b5b7b6ffac29aa8a7306b2e3f2986f59dcc0b9dcdbcd2f1849f728f09312dd1dc86a6
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.96.0.beta.20180510050112'.freeze
2
+ VERSION = '2.96.0.beta.20180511050050'.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
@@ -3,9 +3,8 @@ require 'credentials_manager/appfile_config'
3
3
 
4
4
  module Supply
5
5
  class Options
6
- # rubocop:disable Metrics/PerceivedComplexity
7
6
  def self.available_options
8
- valid_tracks = %w(production beta alpha internal rollout)
7
+ default_tracks = %w(production beta alpha internal rollout)
9
8
  @options ||= [
10
9
  FastlaneCore::ConfigItem.new(key: :package_name,
11
10
  env_name: "SUPPLY_PACKAGE_NAME",
@@ -17,12 +16,8 @@ module Supply
17
16
  FastlaneCore::ConfigItem.new(key: :track,
18
17
  short_option: "-a",
19
18
  env_name: "SUPPLY_TRACK",
20
- description: "The track of the application to use: #{valid_tracks.join(', ')}",
21
- default_value: 'production',
22
- verify_block: proc do |value|
23
- available = valid_tracks
24
- UI.user_error!("Invalid value '#{value}', must be #{available.join(', ')}") unless available.include?(value)
25
- end),
19
+ description: "The track of the application to use. The default available tracks are: #{default_tracks.join(', ')}",
20
+ default_value: 'production'),
26
21
  FastlaneCore::ConfigItem.new(key: :rollout,
27
22
  short_option: "-r",
28
23
  description: "The percentage of the user fraction when uploading to the rollout track",
@@ -146,11 +141,7 @@ module Supply
146
141
  FastlaneCore::ConfigItem.new(key: :track_promote_to,
147
142
  env_name: "SUPPLY_TRACK_PROMOTE_TO",
148
143
  optional: true,
149
- description: "The track to promote to: #{valid_tracks.join(', ')}",
150
- verify_block: proc do |value|
151
- available = valid_tracks
152
- UI.user_error!("Invalid value '#{value}', must be #{available.join(', ')}") unless available.include?(value)
153
- end),
144
+ description: "The track to promote to. The default available tracks are: #{default_tracks.join(', ')}"),
154
145
  FastlaneCore::ConfigItem.new(key: :validate_only,
155
146
  env_name: "SUPPLY_VALIDATE_ONLY",
156
147
  optional: true,
@@ -195,6 +186,5 @@ module Supply
195
186
 
196
187
  ]
197
188
  end
198
- # rubocop:enable Metrics/PerceivedComplexity
199
189
  end
200
190
  end
@@ -184,6 +184,11 @@ module Supply
184
184
  tracks = ["production", "rollout", "beta", "alpha", "internal"]
185
185
  config_track_index = tracks.index(Supply.config[:track])
186
186
 
187
+ # Custom "closed" tracks are now allowed (https://support.google.com/googleplay/android-developer/answer/3131213)
188
+ # Custom tracks have an equal level with alpha (alpha is considered a closed track as well)
189
+ # If a track index is not found, we will assume is a custom track so an alpha index is given
190
+ config_track_index = tracks.index("alpha") unless config_track_index
191
+
187
192
  tracks.each_index do |track_index|
188
193
  track = tracks[track_index]
189
194
  track_version_codes = client.track_version_codes(track).sort
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.96.0.beta.20180510050112
4
+ version: 2.96.0.beta.20180511050050
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Natchev
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2018-05-10 00:00:00.000000000 Z
30
+ date: 2018-05-11 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1651,24 +1651,24 @@ metadata:
1651
1651
  post_install_message:
1652
1652
  rdoc_options: []
1653
1653
  require_paths:
1654
- - frameit/lib
1655
- - match/lib
1656
1654
  - scan/lib
1657
- - pem/lib
1658
- - cert/lib
1659
1655
  - snapshot/lib
1660
- - produce/lib
1661
- - sigh/lib
1662
- - supply/lib
1663
- - credentials_manager/lib
1656
+ - match/lib
1657
+ - deliver/lib
1658
+ - gym/lib
1664
1659
  - precheck/lib
1665
- - spaceship/lib
1660
+ - supply/lib
1661
+ - sigh/lib
1662
+ - pem/lib
1663
+ - produce/lib
1664
+ - fastlane_core/lib
1666
1665
  - screengrab/lib
1666
+ - credentials_manager/lib
1667
+ - cert/lib
1667
1668
  - fastlane/lib
1669
+ - spaceship/lib
1670
+ - frameit/lib
1668
1671
  - pilot/lib
1669
- - fastlane_core/lib
1670
- - deliver/lib
1671
- - gym/lib
1672
1672
  required_ruby_version: !ruby/object:Gem::Requirement
1673
1673
  requirements:
1674
1674
  - - ">="