Accepting "FIX" notation in changelog generator script

This commit is contained in:
Ingo Schommer 2012-07-05 18:16:35 +02:00
parent e96de6cc7e
commit 2be8924b7c

View File

@ -20,7 +20,7 @@ class CreateChangelog extends SilverStripeBuildTask {
public $types = array(
'API Changes' => array('/^(APICHANGE|API-CHANGE|API CHANGE|API)\s?:?/i'),
'Features and Enhancements' => array('/^(ENHANCEMENT|ENHNACEMENT|FEATURE|NEW)\s?:?/i'),
'Bugfixes' => array('/^(BUGFIX|BUGFUX|BUG)\s?:?/i','/^(BUG FIX)\s?:?/i'),
'Bugfixes' => array('/^(BUGFIX|BUGFUX|BUG|FIX)\s?:?/i','/^(BUG FIX)\s?:?/i'),
'Other' => array('/^(MINOR)\s?:?/i')
);