fastlane-plugin-stream_actions 0.3.78 → 0.3.80
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: 1d7287766408959b2a1e4d117b8527606b782354d558a23438710c2e214e4849
|
4
|
+
data.tar.gz: ea05d93c6048d0429298496eda59df7cdb798f0026459c6ced2c698643e0992c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6efbae6d488b7b12eaa2946f43daab013a1265d00c209bb1eab509cff5c612fcbf99f4ed6080be27a7295764c087320d29659f683a67904b4ae22f391e4294d5
|
7
|
+
data.tar.gz: 2047b5582ec743aa613e0b98b77c4287365a259682f13d178042a76f6d7400c267179a4704fb341fc852e62623f22fcd93dd0c605c47defd44fc9e1d89b39cb2
|
@@ -39,6 +39,13 @@ module Fastlane
|
|
39
39
|
xcargs: params[:xcargs]
|
40
40
|
)
|
41
41
|
|
42
|
+
changelog =
|
43
|
+
if params[:use_changelog]
|
44
|
+
other_action.read_changelog(version: params[:app_version], changelog_path: params[:changelog_path])
|
45
|
+
else
|
46
|
+
testflight_instructions(params)
|
47
|
+
end
|
48
|
+
|
42
49
|
external_groups = other_action.current_branch == 'main' ? ['Public Link'] : []
|
43
50
|
other_action.pilot(
|
44
51
|
api_key: params[:api_key],
|
@@ -50,7 +57,7 @@ module Fastlane
|
|
50
57
|
distribute_external: external_groups.any?,
|
51
58
|
notify_external_testers: external_groups.any?,
|
52
59
|
reject_build_waiting_for_review: true,
|
53
|
-
changelog:
|
60
|
+
changelog: changelog
|
54
61
|
)
|
55
62
|
|
56
63
|
if params[:github_pr_num] && !params[:github_pr_num].strip.empty?
|
@@ -62,12 +69,11 @@ module Fastlane
|
|
62
69
|
def self.testflight_instructions(params)
|
63
70
|
return "This is the official #{params[:app_target]} sample app" unless params[:sdk_target]
|
64
71
|
|
65
|
-
version_number = other_action.get_version_number(target: params[:sdk_target])[/\d+\.\d+\.\d/]
|
66
72
|
if ENV['GITHUB_EVENT_NAME'] == 'pull_request'
|
67
73
|
sha = ENV['GITHUB_SHA'] ? ENV['GITHUB_SHA'][0..8] : sh('git rev-parse --short HEAD')
|
68
74
|
"This is the build for Regression testing on release candidate v#{version_number} (sha: #{sha})."
|
69
75
|
else
|
70
|
-
"This is the official sample app built with iOS #{params[:sdk_target]} SDK v#{
|
76
|
+
"This is the official sample app built with iOS #{params[:sdk_target]} SDK v#{params[:app_version]}. It's designed " \
|
71
77
|
'to highlight engaging features and new improvements to the SDK, but remember that this is just one ' \
|
72
78
|
'possible implementation. You can start your own by borrowing and customizing the code from this ' \
|
73
79
|
"sample, or build something completely different using Stream's components."
|
@@ -161,10 +167,21 @@ module Fastlane
|
|
161
167
|
description: 'GitHub PR number'
|
162
168
|
),
|
163
169
|
FastlaneCore::ConfigItem.new(
|
164
|
-
env_name: 'GITHUB_PR_NUM',
|
165
170
|
key: :configuration,
|
166
171
|
description: 'Build configuration',
|
167
172
|
default_value: 'Release'
|
173
|
+
),
|
174
|
+
FastlaneCore::ConfigItem.new(
|
175
|
+
key: :use_changelog,
|
176
|
+
description: 'Use the changelog as a testflight instructions',
|
177
|
+
is_string: false,
|
178
|
+
default_value: false
|
179
|
+
),
|
180
|
+
FastlaneCore::ConfigItem.new(
|
181
|
+
key: :changelog_path,
|
182
|
+
description: 'The path to your project CHANGELOG.md',
|
183
|
+
is_string: true,
|
184
|
+
default_value: './CHANGELOG.md'
|
168
185
|
)
|
169
186
|
]
|
170
187
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-stream_actions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.80
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GetStream
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xctest_list
|