fastlane-plugin-get_new_build_number 0.2.1 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67d1c54a512da268d76be07efd79c59d2f408fd5d819cc01e197502b266158bb
|
4
|
+
data.tar.gz: 13b1dbab9cf2abb03640946e7844b2a6dada623c9ced316669ab398a0f838eb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 266b82fc7073c011d2c530cbcd2aae2426987d101e2139dc004ad369c8302a8857634870d96fcfaa5180f39b73d998b243cf76e0337df67a353a20fe4abdbdc6
|
7
|
+
data.tar.gz: a0b2a74cdd03d216d26c4308ecbc44c685837b917f3336df036c52fee85c0862effc3da789950499d784eac5893e704494cfa85ce3334a665d1e8048669d2f56
|
@@ -21,12 +21,13 @@ module Fastlane
|
|
21
21
|
UI.success("File with new number file exists. Reading build number from it...")
|
22
22
|
latest_build_number = File.read(file).to_i
|
23
23
|
else
|
24
|
-
UI.message("File with new build number does not exist. New build number will be "\
|
25
|
-
|
24
|
+
UI.message("File with new build number does not exist. New build number will be " \
|
25
|
+
"retrieved and temporary file with it will be created.")
|
26
26
|
latest_build_number = Helper::GetNewBuildNumberHelper.get_latest_build_number(
|
27
27
|
bundle_identifier: params[:bundle_identifier],
|
28
28
|
package_name: params[:package_name],
|
29
29
|
google_play_json_key_path: params[:google_play_json_key_path],
|
30
|
+
app_store_initial_build_number: params[:app_store_initial_build_number],
|
30
31
|
firebase_json_key_path: params[:firebase_json_key_path],
|
31
32
|
firebase_app_ios: params[:firebase_app_ios],
|
32
33
|
firebase_app_android: params[:firebase_app_android]
|
@@ -60,9 +61,9 @@ module Fastlane
|
|
60
61
|
end
|
61
62
|
|
62
63
|
def self.return_value
|
63
|
-
"An integer representing a new build number. It's the latest build "\
|
64
|
-
|
65
|
-
|
64
|
+
"An integer representing a new build number. It's the latest build " \
|
65
|
+
"number collected from all services (e.g App Store, Google Play, App " \
|
66
|
+
"Center) plus 1."
|
66
67
|
end
|
67
68
|
|
68
69
|
def self.details
|
@@ -10,9 +10,10 @@ module Fastlane
|
|
10
10
|
bundle_identifier: nil,
|
11
11
|
package_name: nil,
|
12
12
|
google_play_json_key_path: nil,
|
13
|
+
app_store_initial_build_number: nil,
|
13
14
|
firebase_json_key_path: nil,
|
14
15
|
firebase_app_ios: nil,
|
15
|
-
firebase_app_android: nil
|
16
|
+
firebase_app_android: nil,
|
16
17
|
)
|
17
18
|
if bundle_identifier.nil? && package_name.nil?
|
18
19
|
UI.error("Both bundle_identifier and package_name are nil")
|
@@ -29,6 +30,7 @@ module Fastlane
|
|
29
30
|
app_store_build_number = Fastlane::Actions::AppStoreBuildNumberAction.run(
|
30
31
|
app_identifier: bundle_identifier,
|
31
32
|
platform: "IOS"
|
33
|
+
initial_build_number: app_store_initial_build_number || 1
|
32
34
|
)
|
33
35
|
|
34
36
|
UI.message("Latest build number (App Store): #{app_store_build_number}")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bartek Pacia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -179,7 +179,8 @@ files:
|
|
179
179
|
homepage: https://github.com/bartekpacia/fastlane-plugin-get_new_build_number
|
180
180
|
licenses:
|
181
181
|
- MIT
|
182
|
-
metadata:
|
182
|
+
metadata:
|
183
|
+
rubygems_mfa_required: 'true'
|
183
184
|
post_install_message:
|
184
185
|
rdoc_options: []
|
185
186
|
require_paths:
|
@@ -188,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
188
189
|
requirements:
|
189
190
|
- - ">="
|
190
191
|
- !ruby/object:Gem::Version
|
191
|
-
version: '
|
192
|
+
version: '3.1'
|
192
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
194
|
requirements:
|
194
195
|
- - ">="
|