mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
22 lines
521 B
Bash
Executable File
22 lines
521 B
Bash
Executable File
#!/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 /(dcousens\@users.noreply.github.com)/;
|
|
next if /(cmetcalf\@appgeo.com)/;
|
|
$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
|