fastlane-plugin-increment_build_number 0.0.1 → 0.0.2

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: 02c0803bf27632bdc433888b6b883e13a6ea7f8a74eab9812204ff03084846b2
4
- data.tar.gz: 3cefb7aa30d852b4f5582e11f07a11e202209bc311e8bbd94d11f97b90f675f8
3
+ metadata.gz: af0b9ad87c01d1b3f674890d3be0e2c06da3f18d3fdb4149540149517d111e8e
4
+ data.tar.gz: 9cd662317f181b278cc9cb820031de67079638e442f1ce9c832e1aecd1c269c7
5
5
  SHA512:
6
- metadata.gz: 895482910cc65ef4f6e282a34cff1cacf68789961ed881e9dbc11d01ea3ea7ce8f6ec440ff9e0538c6724c2e83a92847c6551c3cb3e769ae3659b6d4cae1a479
7
- data.tar.gz: 9999b905c47ef8128f1b7732259ba75e12ba727c5b42cf028ffe9680d00424ff60a53c0194d3aae740ba600413e880294ac5dbac4b1107d9d43fffbbdfdd89c6
6
+ metadata.gz: 87444d4179940a53f8e1291072892ae9ace086a4dadd3ce6ca5d7e70b1260e645e6d6305290be1b8da4c127695aa091909d3f4512e94950672d4d84fb6de3eec
7
+ data.tar.gz: 87f8f09ffc3c69f74ddbefc5d4f3a239b872562df991dd3427def92b232fb2ebbf005f98444878e36e491c57f9ed896b94b0fc7da550ca2ca7fcbb1c56aa1b1f
@@ -5,13 +5,13 @@ module Fastlane
5
5
  module Actions
6
6
  class IncrementBundleVersionAction < Action
7
7
  def self.run(params)
8
- ver_code = Fastlane::Actions::GetInfoPlistValueAction.run(path: params[:plist], key: "CFBundleVersion")
8
+ ver_code = Fastlane::Actions::GetInfoPlistValueAction.run(path: params[:info_plist], key: "CFBundleVersion")
9
9
  new_ver = self.number?(ver_code).nil? ? nil : ver_code.to_i + 1
10
10
  if new_ver.nil?
11
- UI.user_error!("Failure - Increment bundle version #{params[:plist]} from #{ver_code} to #{new_ver}.")
11
+ UI.user_error!("Failure - Increment bundle version #{params[:info_plist]} from #{ver_code} to #{new_ver}.")
12
12
  else
13
- Fastlane::Actions::SetInfoPlistValueAction.run(path: params[:plist], key: "CFBundleVersion", value: new_ver.to_s)
14
- UI.success("Success - Increment bundle version #{params[:plist]} from #{ver_code} to #{new_ver}!")
13
+ Fastlane::Actions::SetInfoPlistValueAction.run(path: params[:info_plist], key: "CFBundleVersion", value: new_ver.to_s)
14
+ UI.success("Success - Increment bundle version #{params[:info_plist]} from #{ver_code} to #{new_ver}!")
15
15
  end
16
16
  end
17
17
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module IncrementBuildNumber
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-increment_build_number
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miyabi Ogino