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: 117d85786ed04a64685b2ee4ed2c292221277236
4
- data.tar.gz: 1df899bdead3c497d4821630bded4780a2ccd773
3
+ metadata.gz: f965f6e9f68f253ed194c49f8b00b76d58fa4e14
4
+ data.tar.gz: 58f7d090be5778926efa7028db02adf3c0049f4c
5
5
  SHA512:
6
- metadata.gz: f0c46b2a73c045b8ee7d6e3c44171ba0b20aa5bb15e0567e86d5d375a78b45672f90423feeddf94b26be79e7625d9884d195bd9a0d16fec15441b6dbe378289e
7
- data.tar.gz: 46c70bef6ad9c5f0786154049256f85fa04086d10552cc948bab91d3f8842f207092553be19404a3b6679d9b21ac58ea14ed35a30c904f250e86daf3e2c5b8f2
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)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module DeployFileProvider
3
- VERSION = "0.5.3"
3
+ VERSION = "0.5.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-deploy_file_provider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kamil Krzyk, Przemysław Wośko