fastlane-plugin-increment_version_code 0.1.0 → 0.2.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d8184b8046639011e78bf1d48ea93beb4680403
|
4
|
+
data.tar.gz: 8838aa61c22ca39a7233806ccb765ad1b46271d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e85bc50ff3b8f4053af76d6b136161e7432fe3440a66db1d5f764418c02a0619277636b33a463393c3759a7cf7af8889f6b7d3ec43e5b9fbf0a044ed0c27eef
|
7
|
+
data.tar.gz: d46612051db020ca21027a5a241a2e2d1eb3243227a887d0e8c30802f7f76778f367ccb0d895e061afa3e6fa64f01c52b751dba55d6720c68dd11fa26cdb613d
|
@@ -39,9 +39,11 @@ module Fastlane
|
|
39
39
|
UI.user_error!("Impossible to find the version code in the current project folder #{app_folder_name} 😭")
|
40
40
|
else
|
41
41
|
# Store the version name in the shared hash
|
42
|
-
Actions.lane_context["VERSION_CODE"]=
|
42
|
+
Actions.lane_context["VERSION_CODE"]=new_version_code
|
43
43
|
UI.success("☝️ Version code has been changed from #{version_code} to #{new_version_code}")
|
44
44
|
end
|
45
|
+
|
46
|
+
return new_version_code
|
45
47
|
end
|
46
48
|
|
47
49
|
def self.description
|
@@ -63,6 +65,12 @@ module Fastlane
|
|
63
65
|
]
|
64
66
|
end
|
65
67
|
|
68
|
+
def self.output
|
69
|
+
[
|
70
|
+
['VERSION_CODE', 'The new version code of the project']
|
71
|
+
]
|
72
|
+
end
|
73
|
+
|
66
74
|
def self.is_supported?(platform)
|
67
75
|
[:android].include?(platform)
|
68
76
|
end
|