fastlane-plugin-stream_actions 0.3.30 → 0.3.31
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50ce43e782b64faba0e379f3c9b1c22e3e4e478e54b60b50f3e774d822b2c145
|
4
|
+
data.tar.gz: f70609626865b88a88575fc09df3607173d468ff8773237e00b3e5bb8d8d6f02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d870094dd22d7cbc2d7782e60cbb6a432b7f0fba657314ab3b144e1005b6057b0638724ef5fbc9c65f184bd473964d7bb2b6760fc313c34c77b7b4a6ff4c6b99
|
7
|
+
data.tar.gz: 4d71f7cef6816f7563dfbd6b098ea976256c0a4b9eab18511c6cd0c7914b49fcaffede595caf3f92aca6625510199d76904b4549b4286005827442aa8948b058
|
@@ -2,11 +2,6 @@ module Fastlane
|
|
2
2
|
module Actions
|
3
3
|
class PublishIosSdkAction < Action
|
4
4
|
def self.run(params)
|
5
|
-
podspecs = []
|
6
|
-
(params[:podspec_names] || params[:sdk_names]).each do |sdk|
|
7
|
-
podspecs << (sdk.include?('.podspec') ? sdk : "#{sdk}.podspec")
|
8
|
-
end
|
9
|
-
|
10
5
|
version_number = params[:version]
|
11
6
|
|
12
7
|
ensure_everything_is_set_up(params)
|
@@ -24,7 +19,13 @@ module Fastlane
|
|
24
19
|
upload_assets: params[:upload_assets]
|
25
20
|
)
|
26
21
|
|
27
|
-
|
22
|
+
unless params[:skip_pods]
|
23
|
+
podspecs = []
|
24
|
+
(params[:podspec_names] || params[:sdk_names]).each do |sdk|
|
25
|
+
podspecs << (sdk.include?('.podspec') ? sdk : "#{sdk}.podspec")
|
26
|
+
end
|
27
|
+
podspecs.each { |podspec| other_action.pod_push_safely(podspec: podspec) }
|
28
|
+
end
|
28
29
|
|
29
30
|
UI.success("Github release v#{version_number} was created, please visit #{release_details['html_url']} to see it! 🚢")
|
30
31
|
end
|
@@ -64,6 +65,13 @@ module Fastlane
|
|
64
65
|
UI.user_error!("SDK names array has to be specified") unless sdks.kind_of?(Array) && sdks.size.positive?
|
65
66
|
end
|
66
67
|
),
|
68
|
+
FastlaneCore::ConfigItem.new(
|
69
|
+
key: :skip_pods,
|
70
|
+
description: 'Skip release to CocoaPods?',
|
71
|
+
is_string: false,
|
72
|
+
optional: true,
|
73
|
+
default_value: false
|
74
|
+
),
|
67
75
|
FastlaneCore::ConfigItem.new(
|
68
76
|
key: :podspec_names,
|
69
77
|
description: 'Podspec names to release',
|