Add files
This commit is contained in:
25
bin/update-authors.sh
Executable file
25
bin/update-authors.sh
Executable file
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Update AUTHORS.md based on git history.
|
||||
|
||||
git log --reverse --format='%aN (%aE)' | perl -we '
|
||||
BEGIN {
|
||||
%seen = (), @authors = ();
|
||||
}
|
||||
while (<>) {
|
||||
next if $seen{$_};
|
||||
next if /(support\@greenkeeper.io)/;
|
||||
next if /(ungoldman\@gmail.com)/;
|
||||
next if /(dc\@DCs-MacBook.local)/;
|
||||
next if /(rolandoguedes\@gmail.com)/;
|
||||
next if /(grunjol\@users.noreply.github.com)/;
|
||||
next if /(dependabot)/;
|
||||
$seen{$_} = push @authors, "- ", $_;
|
||||
}
|
||||
END {
|
||||
print "# Authors\n\n";
|
||||
print "#### Ordered by first contribution.\n\n";
|
||||
print @authors, "\n";
|
||||
print "#### Generated by bin/update-authors.sh.\n";
|
||||
}
|
||||
' > AUTHORS.md
|
||||
Reference in New Issue
Block a user