fastlane-plugin-semantic_versioning 3.0.0 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/semantic_versioning/actions/get_versioning_info_action.rb +1 -3
- data/lib/fastlane/plugin/semantic_versioning/actions/prepare_versioning_action.rb +0 -2
- data/lib/fastlane/plugin/semantic_versioning/actions/semantic_bump_action.rb +1 -3
- data/lib/fastlane/plugin/semantic_versioning/helper/semantic_versioning_helper.rb +1 -0
- data/lib/fastlane/plugin/semantic_versioning/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c140874adef71e79de8611605a1729bce035a1618d8ba87e9344b3b34188d88
|
4
|
+
data.tar.gz: b24fd70c25c5f35c822d4f2f96ba74208a48fe48ed82816140960ff8270b2147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3ca8011cb704bff1a77bd021d0c5f7a00a893feb2b756e1b2abddc464fcf0ee49bc6828d3df431db495a33138c29db1bf967650360134274b6817ff4f5d75f3
|
7
|
+
data.tar.gz: c3bb306b4e6b3f9d280cfc628ea6b43af4d138c6c2bbfee0512d8fc27e64a3828a09ac2ca1bc42605cc1ededd63afa2fb3af32441ac67b29971b8a3aca3f790b
|
@@ -145,14 +145,12 @@ module Fastlane
|
|
145
145
|
UI.user_error!("Parameter 'bump_map' must be a Hash.") unless value.is_a?(Hash)
|
146
146
|
end
|
147
147
|
|
148
|
-
|
149
|
-
def self.is_supported?(_platform)
|
148
|
+
def self.is_supported?(platform)
|
150
149
|
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
151
150
|
# See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
|
152
151
|
#
|
153
152
|
%i[ios mac].include?(platform)
|
154
153
|
end
|
155
|
-
# :nocov:
|
156
154
|
end
|
157
155
|
end
|
158
156
|
end
|
@@ -84,14 +84,12 @@ module Fastlane
|
|
84
84
|
]
|
85
85
|
end
|
86
86
|
|
87
|
-
# :nocov:
|
88
87
|
def self.is_supported?(platform)
|
89
88
|
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
90
89
|
# See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
|
91
90
|
#
|
92
91
|
%i[ios mac].include?(platform)
|
93
92
|
end
|
94
|
-
# :nocov:
|
95
93
|
end
|
96
94
|
end
|
97
95
|
end
|
@@ -91,14 +91,12 @@ module Fastlane
|
|
91
91
|
]
|
92
92
|
end
|
93
93
|
|
94
|
-
|
95
|
-
def self.is_supported?(_platform)
|
94
|
+
def self.is_supported?(platform)
|
96
95
|
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
97
96
|
# See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
|
98
97
|
#
|
99
98
|
%i[ios mac].include?(platform)
|
100
99
|
end
|
101
|
-
# :nocov:
|
102
100
|
end
|
103
101
|
end
|
104
102
|
end
|
@@ -123,6 +123,7 @@ module Fastlane
|
|
123
123
|
|
124
124
|
def self.increase_version(current_version:, bump_type:)
|
125
125
|
version_array = current_version.split(".").map(&:to_i)
|
126
|
+
version_array = version_array.unshift(0, 0)[-3..] # pad from left with zeros when version is not 3-digits.
|
126
127
|
|
127
128
|
case bump_type
|
128
129
|
when :major
|