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: c7c7f31538a24a8f780fb0bf80a946a19cd31ba46c3534230fd3174850bfe61a
4
- data.tar.gz: e6cb68c547e42b68e06800b025553f8b46437790b392fc7f252c21ff0b691002
3
+ metadata.gz: 2ca5dec519173daf5b0b123204f047f8650c7cdca20284c059b6121d4d69c7f2
4
+ data.tar.gz: 7c2635ea8eb9ad75504a944385ed8d32543fe3314794597ec98808353fc670e5
5
5
  SHA512:
6
- metadata.gz: '08723ae1e7c18d23f443f0e392e33bb9d28c9981221b3716eaac0ce64f5a5b1900b23f0816bbb776d35c44506c6162846c1a9b499e31610763993728a02bfc4a'
7
- data.tar.gz: a98959fab493fcfc8f1bec46ee5fd56ec5463b503a810041403d9e88b2e5223fe14b65efdc88e77f888e15c9df8a1388c31bb7410ef50bfa6ce3e549b6c7364a
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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AndroidUpdatePackageIdentifier
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  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.0
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-15 00:00:00.000000000 Z
11
+ date: 2020-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry