fastlane-plugin-increment_version_build_number 0.0.3 → 0.0.4

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: c38ec05b205fb194bea4fd82307ee9ccc8a7f365466f228aee9e1e2bb176f65b
4
- data.tar.gz: dd1804d25fd96c0caa261f42533bd54b923d9e6878fa29d14e251e218093ab22
3
+ metadata.gz: f15ae8b2f52e79c45e7a98dbd5d6e0697fcdc12404c185ad2548a0acb0b3cab1
4
+ data.tar.gz: 16be6283bf196e2d050c58030b36b78b122ec85f3dc84e9d2cb15d0244a9898e
5
5
  SHA512:
6
- metadata.gz: 9cf26349c6d205d35fc713eccc6b1f84049daa8857906636b1c676a7a40c70ec053f44cc28b4d333e9e5506e3297d81b3b50c6c08b998104ce2967d5d6e2ae14
7
- data.tar.gz: 1554bc000882b8b6d346539bfb97a9fded6dd028ca733e9cb3ee76a106ea8c952a420fa2f63154d03c2f0f7f114f1e08adb7122f285addb39aeb9d797c771a85
6
+ metadata.gz: 0a21308a6f089cf6bd3b0dcd2763881c40f4075ebb60945fc38e2705cd8618d88fcb156b37db53bd4cbaf1198103f10adcdfe7e53b9c42f3b3d71d237192c70a
7
+ data.tar.gz: 10b8618c45ad8f1fdb37feb5c294ea9667aaa507062635cc2071b18877f7d7728ad31b4d94ef9011a3ff62918e65212db4213c298a52c598264b07f5bf48647b
@@ -52,7 +52,11 @@ module Fastlane
52
52
  if line.include? constant_name and foundVersionBuildNumber=="false"
53
53
  UI.message(" -> line: (#{line})!")
54
54
  versionComponents = line.strip.split(' ')
55
- if versionComponents[0] == constant_name
55
+
56
+ # Spected format
57
+ # 0 | 1 |2|3
58
+ # def versionBuild = 4
59
+ if versionComponents[1] == constant_name
56
60
  version_build_number = versionComponents[versionComponents.length-1].tr("\"","")
57
61
  if new_version_build_number <= 0
58
62
  new_version_build_number = version_build_number.to_i + 1
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module IncrementVersionBuildNumber
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-increment_version_build_number
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jems