fastlane-plugin-android_update_package_identifier 0.1.0 → 0.1.1
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: 2ca5dec519173daf5b0b123204f047f8650c7cdca20284c059b6121d4d69c7f2
|
4
|
+
data.tar.gz: 7c2635ea8eb9ad75504a944385ed8d32543fe3314794597ec98808353fc670e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad9790824f5f7f8130bf18b0924c1036290bd43d17a0ffb0d4c9d109b9f67b200a7c471a49fb45d19fbdae3ea870f294203806e06c31a91ca279434250907798
|
7
|
+
data.tar.gz: 1884bdb9453669a0113eb5aceefc6143fc04a462c5915b524ffc44dff765b0c0442208d68a2711aa9b63c9f0ae0682422031a5be53ea224e4408cade64bb6476
|
@@ -5,12 +5,12 @@ module Fastlane
|
|
5
5
|
module Actions
|
6
6
|
class AndroidUpdatePackageIdentifierAction < Action
|
7
7
|
def self.run(params)
|
8
|
-
UI.message("The android_update_package_identifier plugin is working!")
|
9
8
|
path = params[:gradleFilePath]
|
10
9
|
identifier = params[:newIdentifier]
|
11
10
|
|
12
11
|
File.open(path,"r+") do |file|
|
13
12
|
text = File.read(file)
|
13
|
+
UI.message("Changing build config at #{path} to have applicationId of #{identifier}")
|
14
14
|
new_contents = text.gsub("/(?<=defaultConfig[\s\S]*applicationId.*\").*(?=\")/", identifier)
|
15
15
|
file.puts new_contents
|
16
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-android_update_package_identifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Nogueira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|