fastlane-plugin-android_update_package_identifier 0.1.1 → 0.1.3
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: 6854c360188756b4db1ec13e94fef8ab4e186bc1d5e4b05906845954784b7ec4
|
4
|
+
data.tar.gz: 6e77b6fb0ffed2bf752a776e529ab05f44e0be94ea9a8fe50f9848feb74b241b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af622ae4a44b40c2653007e3a38a504960934119cbf8db862fcb864d53b959622c1bf0c6c73f659e6673f1b0ff5115ac26017a714c336711e51b3abe0b407e98
|
7
|
+
data.tar.gz: 56ae98a67e2904642e1078ba56b1a52041da441159790400b4fce045a88cf1a43566f924854e95c6b701efc3be95c7b512347e49d473b47de4defbcdded6d709
|
@@ -11,7 +11,9 @@ module Fastlane
|
|
11
11
|
File.open(path,"r+") do |file|
|
12
12
|
text = File.read(file)
|
13
13
|
UI.message("Changing build config at #{path} to have applicationId of #{identifier}")
|
14
|
-
|
14
|
+
config_contents = text[/defaultConfig (\{(?:\{??[^\{]*?\}))/, 1]
|
15
|
+
new_config_contents = config_contents.gsub(/(?<=applicationId \").*?(?=\")/, identifier)
|
16
|
+
new_contents = text.gsub(config_contents, new_config_contents)
|
15
17
|
file.puts new_contents
|
16
18
|
end
|
17
19
|
end
|