Split up Revert/Removal

This commit is contained in:
Jordan Brown
2018-02-10 12:15:14 -05:00
committed by KorPhaeron
parent aba49822d1
commit 8cbbe65f13

View File

@@ -210,8 +210,10 @@ function tag_pr($payload, $opened) {
if(strpos(strtolower($title), 'refactor') !== FALSE)
$tags[] = 'Refactor';
if(strpos(strtolower($title), 'revert') !== FALSE || strpos(strtolower($title), 'removes') !== FALSE)
$tags[] = 'Revert/Removal';
if(strpos(strtolower($title), 'revert') !== FALSE)
$tags[] = 'Revert';
if(strpos(strtolower($title), 'removes') !== FALSE)
$tags[] = 'Removal';
}
$remove = array();
@@ -661,7 +663,7 @@ function checkchangelog($payload, $compile = true) {
case 'sounddel':
if($item != 'removed an old sound thingy') {
$tags[] = 'Sound';
$tags[] = 'Revert/Removal';
$tags[] = 'Removal';
$currentchangelogblock[] = array('type' => 'sounddel', 'body' => $item);
}
break;
@@ -677,7 +679,7 @@ function checkchangelog($payload, $compile = true) {
case 'dels':
case 'rscdel':
if($item != 'Removed old things') {
$tags[] = 'Revert/Removal';
$tags[] = 'Removal';
$currentchangelogblock[] = array('type' => 'rscdel', 'body' => $item);
}
break;
@@ -690,7 +692,7 @@ function checkchangelog($payload, $compile = true) {
case 'imagedel':
if($item != 'deleted some icons and images') {
$tags[] = 'Sprites';
$tags[] = 'Revert/Removal';
$tags[] = 'Removal';
$currentchangelogblock[] = array('type' => 'imagedel', 'body' => $item);
}
break;