From 0b8306257b1125fead3093968b4764f5fae6bd88 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 19 Nov 2014 16:40:35 +0000 Subject: Support the full four-point version string --- lib/tasks/themes.rake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/tasks/themes.rake') diff --git a/lib/tasks/themes.rake b/lib/tasks/themes.rake index 4a864d141..cbd12fd86 100644 --- a/lib/tasks/themes.rake +++ b/lib/tasks/themes.rake @@ -65,6 +65,8 @@ namespace :themes do result.push usage_tag(ALAVETELI_VERSION) hotfix_match = /^(\d+\.\d+\.\d+)(\.\d+)+/.match(ALAVETELI_VERSION) result.push usage_tag(hotfix_match[1]) if hotfix_match + minor_match = /^(\d+\.\d+)(\.\d+)+/.match(ALAVETELI_VERSION) + result.push usage_tag(minor_match[1]) if minor_match result end -- cgit v1.2.3