fastlane-plugin-buildstash 1.0.6 → 1.0.7
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f122d9e6c954c61f83a973e097921c15a7c48a659f0203bbe86001b225239d46
|
|
4
|
+
data.tar.gz: bcb7a5c184367bb44a828e30bf42ef40bd6c31c0637d7aeb5c5483caf1ec81af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c73fdb2bafc193d3eace80b71098920e2c3bfe16c2cf6b35b164504d04e8e1fb7a4ac8f4accc8a59d8d300e927927d7c1e370cc724e5456deff5e268f54d2789
|
|
7
|
+
data.tar.gz: 2c27190aaffcb1aa2b62746d7c76be4e895b0582695b17d2a1b39ff945bdbd01f98d05938bc60790b462585b9f5531232cf15780c5621ccdaf650b78490699bc
|
|
@@ -39,7 +39,20 @@ module Fastlane
|
|
|
39
39
|
vc_commit_sha = params[:vc_commit_sha]
|
|
40
40
|
vc_commit_url = params[:vc_commit_url]
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
raw_artifacts = params[:metadata_artifacts]
|
|
43
|
+
metadata_artifacts = if raw_artifacts.is_a?(String) && !raw_artifacts.strip.empty?
|
|
44
|
+
begin
|
|
45
|
+
parsed = JSON.parse(raw_artifacts)
|
|
46
|
+
parsed.is_a?(Array) ? parsed : []
|
|
47
|
+
rescue JSON::ParserError => e
|
|
48
|
+
UI.important("⚠️ Could not parse metadata_artifacts as JSON: #{e.message} — skipping metadata artifacts.")
|
|
49
|
+
[]
|
|
50
|
+
end
|
|
51
|
+
elsif raw_artifacts.is_a?(Array)
|
|
52
|
+
raw_artifacts
|
|
53
|
+
else
|
|
54
|
+
[]
|
|
55
|
+
end
|
|
43
56
|
ssl_verify = params[:ssl_verify]
|
|
44
57
|
|
|
45
58
|
if !structure
|
|
@@ -617,9 +630,8 @@ module Fastlane
|
|
|
617
630
|
|
|
618
631
|
FastlaneCore::ConfigItem.new(
|
|
619
632
|
key: :metadata_artifacts,
|
|
620
|
-
description: "
|
|
633
|
+
description: "Supplementary files to upload alongside the build (e.g. logs). Accepts a Ruby Array of Hashes (from a Fastfile) or a JSON string (from the command line). Each entry needs a `path` key and an optional `description` key. Maximum 10 files, 5MB per file",
|
|
621
634
|
optional: true,
|
|
622
|
-
type: Array,
|
|
623
635
|
default_value: []
|
|
624
636
|
),
|
|
625
637
|
|