1 |
|
2 | # Update AUTHORS.md based on git history.
|
3 |
|
4 | git log --reverse --format='%aN (%aE)' | perl -we '
|
5 | BEGIN {
|
6 | %seen = (), @authors = ();
|
7 | }
|
8 | while (<>) {
|
9 | next if $seen{$_};
|
10 | next if /(support\@greenkeeper.io)/;
|
11 | next if /(nate\@ngoldman.me)/;
|
12 | next if /(ahmad\@codeinchaos.com)/;
|
13 | $seen{$_} = push @authors, "- ", $_;
|
14 | }
|
15 | END {
|
16 | print "# Authors\n\n";
|
17 | print "#### Ordered by first contribution.\n\n";
|
18 | print @authors, "\n";
|
19 | print "#### Generated by bin/update-authors.sh.\n";
|
20 | }
|
21 | ' > AUTHORS.md
|