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: 67d1c54a512da268d76be07efd79c59d2f408fd5d819cc01e197502b266158bb
4
- data.tar.gz: 13b1dbab9cf2abb03640946e7844b2a6dada623c9ced316669ab398a0f838eb6
3
+ metadata.gz: ae95b2d52f17b02b6c71ad977040e19f9937e8b7ad6d050dd477c5adf87d5ac0
4
+ data.tar.gz: b7617e1af239a46d48d611c27cb1194a5a8f034a214c76f1766f63d06b80b89f
5
5
  SHA512:
6
- metadata.gz: 266b82fc7073c011d2c530cbcd2aae2426987d101e2139dc004ad369c8302a8857634870d96fcfaa5180f39b73d998b243cf76e0337df67a353a20fe4abdbdc6
7
- data.tar.gz: a0b2a74cdd03d216d26c4308ecbc44c685837b917f3336df036c52fee85c0862effc3da789950499d784eac5893e704494cfa85ce3334a665d1e8048669d2f56
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: 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: 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: 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: 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: track,
105
- package_name: package_name,
106
- json_key: json_key
104
+ track:,
105
+ package_name:,
106
+ json_key:
107
107
  )
108
108
 
109
109
  return codes.max
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GetNewBuildNumber
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-get_new_build_number
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bartek Pacia