fastlane 2.47.0.beta.20170713010003 → 2.47.0.beta.20170714010002
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 +4 -4
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/supply/lib/supply/options.rb +3 -3
- data/supply/lib/supply/uploader.rb +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb501af3bf16d7e81c4daebcc61af1d6690c82cf
|
4
|
+
data.tar.gz: e12fb9d713d3d23c845f164db81916e0babd6476
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1da8ce91656dde38c50a695eef82424196272f357d911aae6199eb4a257e2cc166489b03bd5253535b8af88da8bee3a47c9c9446cdf9fa231ab6e23f00a80cb1
|
7
|
+
data.tar.gz: a13e835314b6667d17d5d990830963b722979c9e6b7abaca86ac779622512cc857cae53f572710d8fd9814cf29d42dd5b026bcc2d7831c0d33792aabd86f18e0
|
@@ -26,9 +26,9 @@ module Supply
|
|
26
26
|
description: "The percentage of the user fraction when uploading to the rollout track",
|
27
27
|
default_value: '0.1',
|
28
28
|
verify_block: proc do |value|
|
29
|
-
min = 0.
|
30
|
-
max = 0
|
31
|
-
UI.user_error! "Invalid value '#{value}', must be
|
29
|
+
min = 0.0
|
30
|
+
max = 1.0
|
31
|
+
UI.user_error! "Invalid value '#{value}', must be greater than #{min} and less than #{max}" unless value.to_f > min && value.to_f < max
|
32
32
|
end),
|
33
33
|
FastlaneCore::ConfigItem.new(key: :metadata_path,
|
34
34
|
env_name: "SUPPLY_METADATA_PATH",
|
@@ -41,7 +41,7 @@ module Supply
|
|
41
41
|
def promote_track
|
42
42
|
version_codes = client.track_version_codes(Supply.config[:track])
|
43
43
|
# the actual value passed for the rollout argument does not matter because it will be ignored by the Google Play API
|
44
|
-
# but it has to be between 0.
|
44
|
+
# but it has to be between 0.0 and 1.0 to pass the validity check. So we are passing the default value 0.1
|
45
45
|
client.update_track(Supply.config[:track], 0.1, nil)
|
46
46
|
client.update_track(Supply.config[:track_promote_to], Supply.config[:rollout], version_codes)
|
47
47
|
end
|
@@ -155,10 +155,11 @@ module Supply
|
|
155
155
|
|
156
156
|
def update_track(apk_version_codes)
|
157
157
|
UI.message("Updating track '#{Supply.config[:track]}'...")
|
158
|
+
check_superseded_tracks(apk_version_codes) if Supply.config[:check_superseded_tracks]
|
159
|
+
|
158
160
|
if Supply.config[:track].eql? "rollout"
|
159
161
|
client.update_track(Supply.config[:track], Supply.config[:rollout], apk_version_codes)
|
160
162
|
else
|
161
|
-
check_superseded_tracks(apk_version_codes) if Supply.config[:check_superseded_tracks]
|
162
163
|
client.update_track(Supply.config[:track], 1.0, apk_version_codes)
|
163
164
|
end
|
164
165
|
end
|
@@ -171,7 +172,7 @@ module Supply
|
|
171
172
|
max_apk_version_code = apk_version_codes.max
|
172
173
|
max_tracks_version_code = nil
|
173
174
|
|
174
|
-
tracks = ["production", "beta", "alpha"]
|
175
|
+
tracks = ["production", "rollout", "beta", "alpha"]
|
175
176
|
config_track_index = tracks.index(Supply.config[:track])
|
176
177
|
|
177
178
|
tracks.each_index do |track_index|
|
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.47.0.beta.
|
4
|
+
version: 2.47.0.beta.20170714010002
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2017-07-
|
18
|
+
date: 2017-07-14 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|