Skip to content

Commit 5479051

Browse files
committed
Require version_code parameter to be an Integer for Android hotfixes
When I created the hotfix branch for Simplenote Android 2.10.1, I erroneously replied "2.10.1" to the UI prompt for a version code value. I didn't notice my mistake and pushed the branch, @theck13 had to fix it in his PR, see Automattic/simplenote-android@cf3c979
1 parent 0f73fb0 commit 5479051

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_bump_version_hotfix.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ def self.available_options
4141
is_string: true),
4242
FastlaneCore::ConfigItem.new(key: :version_code,
4343
env_name: "FL_ANDROID_BUMP_VERSION_HOTFIX_CODE",
44-
description: "The version of the hotfix"),
44+
description: "The version of the hotfix",
45+
type: Integer),
4546
FastlaneCore::ConfigItem.new(key: :previous_version_name,
4647
env_name: "FL_ANDROID_BUMP_VERSION_HOTFIX_PREVIOUS_VERSION",
4748
description: "The version to branch from",

0 commit comments

Comments
 (0)