fastlane-plugin-get_new_build_number 0.2.2 → 0.2.3
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: ae95b2d52f17b02b6c71ad977040e19f9937e8b7ad6d050dd477c5adf87d5ac0
|
4
|
+
data.tar.gz: b7617e1af239a46d48d611c27cb1194a5a8f034a214c76f1766f63d06b80b89f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a4c1c45cee4e0e3774333bc22ab4522ad0fc813f646dd3d20240cc18d3590b58896ca73060f5c275cff1fd1a4341e18fc97dd2257ed47a623716fd8cbc5ff17
|
7
|
+
data.tar.gz: 166b76b7a8274d571f5ec2f114b93d7111d11eae11cba3a803697bcbfff222a3568052e05286fea322464aa2ab4be97de34d7fb770741bdc05f17990b0ff5227
|
@@ -13,7 +13,7 @@ module Fastlane
|
|
13
13
|
app_store_initial_build_number: nil,
|
14
14
|
firebase_json_key_path: nil,
|
15
15
|
firebase_app_ios: nil,
|
16
|
-
firebase_app_android: nil
|
16
|
+
firebase_app_android: nil
|
17
17
|
)
|
18
18
|
if bundle_identifier.nil? && package_name.nil?
|
19
19
|
UI.error("Both bundle_identifier and package_name are nil")
|
@@ -29,7 +29,7 @@ module Fastlane
|
|
29
29
|
unless bundle_identifier.nil?
|
30
30
|
app_store_build_number = Fastlane::Actions::AppStoreBuildNumberAction.run(
|
31
31
|
app_identifier: bundle_identifier,
|
32
|
-
platform: "IOS"
|
32
|
+
platform: "IOS",
|
33
33
|
initial_build_number: app_store_initial_build_number || 1
|
34
34
|
)
|
35
35
|
|
@@ -38,25 +38,25 @@ module Fastlane
|
|
38
38
|
|
39
39
|
google_play_build_number_prod = get_google_play_build_number(
|
40
40
|
track: "production",
|
41
|
-
package_name
|
41
|
+
package_name:,
|
42
42
|
json_key: google_play_json_key_path
|
43
43
|
)
|
44
44
|
|
45
45
|
google_play_build_number_beta = get_google_play_build_number(
|
46
46
|
track: "beta",
|
47
|
-
package_name
|
47
|
+
package_name:,
|
48
48
|
json_key: google_play_json_key_path
|
49
49
|
)
|
50
50
|
|
51
51
|
google_play_build_number_alpha = get_google_play_build_number(
|
52
52
|
track: "alpha",
|
53
|
-
package_name
|
53
|
+
package_name:,
|
54
54
|
json_key: google_play_json_key_path
|
55
55
|
)
|
56
56
|
|
57
57
|
google_play_build_number_internal = get_google_play_build_number(
|
58
58
|
track: "internal",
|
59
|
-
package_name
|
59
|
+
package_name:,
|
60
60
|
json_key: google_play_json_key_path
|
61
61
|
)
|
62
62
|
|
@@ -101,9 +101,9 @@ module Fastlane
|
|
101
101
|
# for the given Google Play track.
|
102
102
|
def self.get_google_play_build_number(track:, package_name:, json_key:)
|
103
103
|
codes = Fastlane::Actions::GooglePlayTrackVersionCodesAction.run(
|
104
|
-
track
|
105
|
-
package_name
|
106
|
-
json_key:
|
104
|
+
track:,
|
105
|
+
package_name:,
|
106
|
+
json_key:
|
107
107
|
)
|
108
108
|
|
109
109
|
return codes.max
|