fastlane-plugin-stream_actions 0.4.8 → 0.4.9

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: c541f74e6e0f551a8b1a2b4b19709a52c84a5e73e7dfb2d5b2dd0a4e4be33fa5
4
- data.tar.gz: b3a06af31fbf2f66fee224c99e0c83cf9926fde456a2d4c26d2e71faf0bf9373
3
+ metadata.gz: b1cd47c9cf9078fdada6a7022e053bfcd562f02d4c1a75cc2ede14a018c8f769
4
+ data.tar.gz: 9b044e1fe97cf5bf7bdcda612592e54eba35ffe9041779562858e07e71aefb46
5
5
  SHA512:
6
- metadata.gz: 201aadf11567df58b11f6294bc84575d2f0a13c296ce71d6de46487c9f46cee7304e08ca88982f0b2fcf8758fe0dc4a6a99ea186c897772d9293cd279f1877a9
7
- data.tar.gz: 831a890635a955cc88da0e8d14f1dfc0cc1ca17229a063a90cdfcc5f2053d59c7ccfc645d9e113efcebcf349ae0d08bd5ef2a30178c6d1d980b891422a67e928
6
+ metadata.gz: 56517c6f3dd4534e62c7112b8873b41efb3b1134e9d150773745c9c36438e5ec963c0a9394ef6d6e9da6394bc18afa3705c177e1494a074640263578e1b53870
7
+ data.tar.gz: af2df2c639cc922e2fdadb265243017be271201b2e4c592acd64bf1b96157697c2150abbbaa1c83aec6653525da30a148ced86139ce89dc5702e2f96f109b93f
@@ -43,14 +43,12 @@ module Fastlane
43
43
  changelog =
44
44
  if params[:use_changelog]
45
45
  version = params[:is_manual_upload] ? 'Upcoming' : params[:app_version]
46
- # Strip variation selectors and ZWJ: pilot removes emoji from the changelog, but leaves
47
- # these invisible companions behind, and App Store Connect rejects them in whatsNew
48
- other_action.read_changelog(
49
- version: version,
50
- changelog_path: params[:changelog_path]
51
- ).gsub(/^### (.+)$/) { $1.upcase }
52
- .gsub(%r{\[(#\d+)\]\(https?://[^)]+\)}, '(\1)')
53
- .gsub(/[\u{FE0E}\u{FE0F}\u{200D}]/, '')
46
+ sanitize_changelog(
47
+ other_action.read_changelog(
48
+ version: version,
49
+ changelog_path: params[:changelog_path]
50
+ )
51
+ )
54
52
  else
55
53
  testflight_instructions(params)
56
54
  end
@@ -76,6 +74,15 @@ module Fastlane
76
74
  end
77
75
  end
78
76
 
77
+ # Strip all pictographs and their companions (skin tones, flags, variation selectors,
78
+ # ZWJ, keycaps, tag chars): pilot's own emoji stripper misses text-presentation symbols
79
+ # like U+26A0 and leaves companions behind, and App Store Connect rejects them in whatsNew
80
+ def self.sanitize_changelog(changelog)
81
+ changelog.gsub(/^### (.+)$/) { $1.upcase }
82
+ .gsub(%r{\[(#\d+)\]\(https?://[^)]+\)}, '(\1)')
83
+ .gsub(/[\p{Extended_Pictographic}\u{1F3FB}-\u{1F3FF}\u{1F1E6}-\u{1F1FF}\u{FE00}-\u{FE0F}\u{200D}\u{20E3}\u{E0020}-\u{E007F}]/, '')
84
+ end
85
+
79
86
  def self.testflight_instructions(params)
80
87
  return "This is the official #{params[:app_target]} sample app" unless params[:sdk_target]
81
88
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.4.8'
3
+ VERSION = '0.4.9'
4
4
  end
5
5
  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.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-10 00:00:00.000000000 Z
11
+ date: 2026-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xctest_list