fastlane-plugin-get_new_build_number 0.1.1 → 0.1.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: 979fa803d1b127d9876efe95a9c1d167abc582c657db6f91491125c76aa9c33a
|
4
|
+
data.tar.gz: a5c519939cd2a7781beda1ab42eae03a0923e88596328a6ad249a19a0998386c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed8d8a6be9b37690b1bd4a330f7bdfabc1243193d11b71ddd428155d2ee9cfb61bc961920a95d899ca1aa14955539e761dc99d30c2221a8ca651a8ad39d19c77
|
7
|
+
data.tar.gz: 92d1062ddf34c2287b371e20d52cd0c727bf930a8c7b7fc58dba7ec601ee380d02790de84ea97dc341a374df9063b016b1714b07d7844946b013c7c4026e0cb2
|
@@ -7,8 +7,6 @@ module Fastlane
|
|
7
7
|
module Actions
|
8
8
|
class GetNewBuildNumberAction < Action
|
9
9
|
def self.run(params)
|
10
|
-
UI.message("The get_new_build_number plugin is working!")
|
11
|
-
|
12
10
|
UI.message("bundle_identifier: #{params[:bundle_identifier]}")
|
13
11
|
UI.message("package_name: #{params[:package_name]}")
|
14
12
|
UI.message("google_play_json_key_path: #{params[:google_play_json_key_path]}")
|
@@ -34,7 +32,10 @@ module Fastlane
|
|
34
32
|
firebase_app_android: params[:firebase_app_android],
|
35
33
|
)
|
36
34
|
|
37
|
-
File.open(file, "w")
|
35
|
+
File.open(file, "w") do |f|
|
36
|
+
f.write "#{highest_build_number}\n"
|
37
|
+
UI.message "Wrote #{highest_build_number} to #{file}"
|
38
|
+
end
|
38
39
|
end
|
39
40
|
|
40
41
|
UI.success "Highest build number: #{highest_build_number}"
|