Skip to content

Commit ba8d52f

Browse files
committed
check-release.pl: ignore more copyright updates
Mark wrote some messages like "Update copyrights for 2015" which also need to be ignored for the purposes of release checking.
1 parent 8d7a53f commit ba8d52f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

check-release.pl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,12 @@ ($$$)
176176
debug("Ignoring Happy New Year commit: $commit");
177177
$commitCount--;
178178
}
179-
if ($commitMessage =~ /^[a-z0-9]{7} Organize imports$/) {
179+
elsif ($commitMessage =~ /^[a-z0-9]{7} [Uu]pdate.*[Cc]opyright.*20[0-9]{2}/) {
180+
# Ignore "Update copyrights" copyright header updates
181+
debug("Ignoring copyright year update commit: $commit");
182+
$commitCount--;
183+
}
184+
elsif ($commitMessage =~ /^[a-z0-9]{7} Organize imports$/) {
180185
# Ignore "Organize imports" copyright header updates
181186
debug("Ignoring 'Organize imports' commit: $commit");
182187
$commitCount--;

0 commit comments

Comments
 (0)