fastlane-plugin-emerge 0.6.0 → 0.6.2

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
  SHA256:
3
- metadata.gz: f84892f800a40e25a4b867e178edb8619c24864a4b9ff9670470270ea227969c
4
- data.tar.gz: b8749428f0e193bf816b8dae1dc9e3f10ace668eb86ab3e1e6992d61438995cc
3
+ metadata.gz: 1e1447dca3b388a05160397929cd49bd402f82c97cce36e3118b5fc8a91dc0b8
4
+ data.tar.gz: 94f2deab73ca67cb4520c7b2958a003106b07b16c32abd614613c0f0d1b6c13c
5
5
  SHA512:
6
- metadata.gz: 93d799a5679ba33a333028db9f30217da3742ca2af4cc24c4c792a1c3c06122ee3bc2f79c79ff0f5f2306513a079ab280f586204618deeb5a50fa6953eae363b
7
- data.tar.gz: 86718d6dc29e96ce1fbe78d6198dfcb5dde0fcdadadd63d6f87d1040672fa3d8f73c4171f059615afca40536a217b2f2b283f6cb8262aa68be07f73071538775
6
+ metadata.gz: e747d8c426f8d873e7a89dc30dce0c03e24a8dbf9e697aab6f7a3b66d0de7aeef0308518a67427e0a91ac7a8d7192385e7404449607bcbf7d77d9b58f76d5260
7
+ data.tar.gz: dd5874a90ad2edfdf97a99eda6736ad9e442a75fdc9e204c7ef2e116db68801175dbe32d7bf98c00f8e401b1381012131ee2133bd3775c1703551843ef77eed4
@@ -140,10 +140,16 @@ module Fastlane
140
140
  end
141
141
 
142
142
  def self.copy_config(config_path, tmp_dir)
143
- if config_path != nil && File.exist?(config_path)
144
- emerge_config_path = "#{tmp_dir}/emerge_config.yaml"
145
- FileUtils.cp(config_path, emerge_config_path)
143
+ return unless config_path != nil
144
+
145
+ expanded_path = File.expand_path(config_path)
146
+ if not File.exist?(expanded_path)
147
+ UI.error("No config file found at path '#{expanded_path}'.\nUploading without config file")
148
+ return
146
149
  end
150
+
151
+ emerge_config_path = "#{tmp_dir}/emerge_config.yaml"
152
+ FileUtils.cp(expanded_path, emerge_config_path)
147
153
  end
148
154
 
149
155
  def self.description
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Emerge
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-emerge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emerge Tools, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-25 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday