fastlane-plugin-stream_actions 0.3.27 → 0.3.28
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: 3ae6d4dd83c04683805108941a381eefc6268ba0bf28b0f34a466fadffc99601
|
4
|
+
data.tar.gz: bf6a1ca5024b4a04c7b453746d6f40e1c9cf1663b4d37b368b14ee257f7f887b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88578debb74b83587fc9d52ba3afdcb7060dce892adb93abb4ecc81fad0fbaf9e8842695d5ec57d8a3c881a92a5bfdbb74f96d7dd40fa0a1ce5850d38960ceae
|
7
|
+
data.tar.gz: c2d45512864e674fcb2c48bff261324219b9249f9cc0479f5b1159d8cf4064385b8a914f771fcf1f49db80ac37f66851466b1816a668d9304f728a716e4f698d
|
@@ -10,7 +10,7 @@ module Fastlane
|
|
10
10
|
end
|
11
11
|
|
12
12
|
source_files.each do |file_path|
|
13
|
-
UI.message("👀 Searching for copyright header in #{File.
|
13
|
+
UI.message("👀 Searching for copyright header in #{File.absolute_path(file_path)}")
|
14
14
|
old_content = File.read(file_path)
|
15
15
|
match = old_content.match(/Copyright © (\d{4}) Stream.io/)
|
16
16
|
next if !match || match[1] == new_year
|
@@ -19,7 +19,7 @@ module Fastlane
|
|
19
19
|
new_content = old_content.gsub("Copyright © #{old_year}", "Copyright © #{new_year}")
|
20
20
|
|
21
21
|
File.write(file_path, new_content)
|
22
|
-
UI.success("✅ Updated copyright header in #{File.
|
22
|
+
UI.success("✅ Updated copyright header in #{File.absolute_path(file_path)}")
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|