fastlane-plugin-stream_actions 0.3.29 → 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,17 +2,12 @@ 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)
|
13
8
|
ensure_release_tag_is_new(version_number)
|
14
9
|
|
15
|
-
changes = params[:
|
10
|
+
changes = params[:changelog] || other_action.read_changelog(version: version_number, changelog_path: params[:changelog_path])
|
16
11
|
|
17
12
|
release_details = other_action.set_github_release(
|
18
13
|
repository_name: params[:github_repo],
|
@@ -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',
|
@@ -86,13 +94,6 @@ module Fastlane
|
|
86
94
|
is_string: false,
|
87
95
|
optional: true
|
88
96
|
),
|
89
|
-
FastlaneCore::ConfigItem.new(
|
90
|
-
key: :skip_changelog,
|
91
|
-
description: 'Skip changelog update',
|
92
|
-
is_string: false,
|
93
|
-
optional: true,
|
94
|
-
default_value: false
|
95
|
-
),
|
96
97
|
FastlaneCore::ConfigItem.new(
|
97
98
|
key: :changelog_path,
|
98
99
|
env_name: 'FL_CHANGELOG_PATH',
|
@@ -100,6 +101,12 @@ module Fastlane
|
|
100
101
|
is_string: true,
|
101
102
|
default_value: './CHANGELOG.md'
|
102
103
|
),
|
104
|
+
FastlaneCore::ConfigItem.new(
|
105
|
+
key: :changelog,
|
106
|
+
description: 'Static changelog',
|
107
|
+
is_string: true,
|
108
|
+
optional: true
|
109
|
+
),
|
103
110
|
FastlaneCore::ConfigItem.new(
|
104
111
|
key: :upload_assets,
|
105
112
|
description: 'Path to assets to be uploaded with the release',
|