mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Allow mkauthors/mkheaders to opt-out of committing changes.
This commit is contained in:
parent
9fa1b23031
commit
9ca63a89dd
@ -54,7 +54,9 @@ for my $author (sort { $authors{$b} <=> $authors{$a} or lc($a) cmp lc($b) } keys
|
||||
}
|
||||
close $fh;
|
||||
|
||||
execute 'git', 'commit',
|
||||
'--author', 'InspIRCd Robot <noreply@inspircd.org>',
|
||||
'--message', 'Update author list.',
|
||||
'--', $author_file;
|
||||
if ($ENV{MKAUTHORS_COMMIT} // 1) {
|
||||
execute 'git', 'commit',
|
||||
'--author', 'InspIRCd Robot <noreply@inspircd.org>',
|
||||
'--message', 'Update author list.',
|
||||
'--', $author_file;
|
||||
}
|
||||
|
@ -152,7 +152,9 @@ for my $path (@paths) {
|
||||
}
|
||||
}
|
||||
|
||||
execute 'git', 'commit',
|
||||
'--author', 'InspIRCd Robot <noreply@inspircd.org>',
|
||||
'--message', 'Update copyright headers.',
|
||||
'--', @updated;
|
||||
if ($ENV{MKHEADERS_COMMIT} // 1) {
|
||||
execute 'git', 'commit',
|
||||
'--author', 'InspIRCd Robot <noreply@inspircd.org>',
|
||||
'--message', 'Update copyright headers.',
|
||||
'--', @updated;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user