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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f15ae8b2f52e79c45e7a98dbd5d6e0697fcdc12404c185ad2548a0acb0b3cab1
|
4
|
+
data.tar.gz: 16be6283bf196e2d050c58030b36b78b122ec85f3dc84e9d2cb15d0244a9898e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|