aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-11-19 16:40:35 +0000
committerGareth Rees <gareth@mysociety.org>2014-11-19 16:40:35 +0000
commit0b8306257b1125fead3093968b4764f5fae6bd88 (patch)
tree6228b23d04b4891236148516adfc6568884fbd66 /lib/tasks
parent30acdb97eb91f073ee6fde063fb5cb0e9f73a002 (diff)
Support the full four-point version string
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/themes.rake2
1 files changed, 2 insertions, 0 deletions
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