fastlane-plugin-deploy_file_provider 0.5.3 → 0.5.4
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f965f6e9f68f253ed194c49f8b00b76d58fa4e14
|
|
4
|
+
data.tar.gz: 58f7d090be5778926efa7028db02adf3c0049f4c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 471f028f55c2d86990972b4178a7fcd11a0d9112029d5c4243bdbbc3f35e7fe4473969a20070f202e5e642a935bfd8125e12d57e82758387b76e04b25bd35b34
|
|
7
|
+
data.tar.gz: abf35738b0fd570f5d43997cdbcbd252832916dfc3a84911f068074bc455f25c29b3074c4be2175678a26bed68abdd51116ff6e05714ab80931e9b0fa0bcc25c
|
|
@@ -74,7 +74,13 @@ module Fastlane
|
|
|
74
74
|
env_name: "STORE_CREDENTIALS",
|
|
75
75
|
description: "Location of file allowing you to access app/play store",
|
|
76
76
|
is_string: true,
|
|
77
|
-
optional: true)
|
|
77
|
+
optional: true),
|
|
78
|
+
|
|
79
|
+
FastlaneCore::ConfigItem.new(key: :appVersion,
|
|
80
|
+
env_name: "APP_VERSION",
|
|
81
|
+
description: "App version",
|
|
82
|
+
is_string: true,
|
|
83
|
+
optional: true)
|
|
78
84
|
]
|
|
79
85
|
end
|
|
80
86
|
|
|
@@ -30,8 +30,11 @@ module Fastlane
|
|
|
30
30
|
UI.message("Preparing location for metadata download.".yellow)
|
|
31
31
|
clearMetaDataDir(metadata_root_dir)
|
|
32
32
|
|
|
33
|
+
#Get info about version from Info.plist
|
|
34
|
+
app_version = "#{params[:appVersion]}"
|
|
35
|
+
|
|
33
36
|
UI.message("Step: Fetching current metadata from IOS AppStore".blue)
|
|
34
|
-
fetchCurrentMetaData(metadata_root_dir)
|
|
37
|
+
fetchCurrentMetaData(metadata_root_dir, app_version)
|
|
35
38
|
|
|
36
39
|
# Prepare files for release
|
|
37
40
|
UI.message("Applying changes to fetched metadata.".yellow)
|
|
@@ -70,8 +73,8 @@ module Fastlane
|
|
|
70
73
|
end
|
|
71
74
|
|
|
72
75
|
private
|
|
73
|
-
def self.fetchCurrentMetaData(metadata_root_dir)
|
|
74
|
-
fetch_command = "deliver download_metadata --force -m #{metadata_root_dir} --overwrite_screenshots"
|
|
76
|
+
def self.fetchCurrentMetaData(metadata_root_dir, app_version)
|
|
77
|
+
fetch_command = "fastlane deliver download_metadata --force -m #{metadata_root_dir} --overwrite_screenshots --app_version #{app_version} --skip_binary_upload true"
|
|
75
78
|
Action.sh(fetch_command)
|
|
76
79
|
|
|
77
80
|
unless File.directory?(metadata_root_dir)
|