File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
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+ $seen{$_} = push @authors, "- ", $_;
12+ }
13+ END {
14+ print "# Authors\n\n";
15+ print "#### Ordered by first contribution.\n\n";
16+ print @authors, "\n";
17+ print "#### Generated by bin/update-authors.sh.\n";
18+ }
19+ ' > AUTHORS.md
Original file line number Diff line number Diff line change 44 "description" : " Create Cycle.js apps with zero configuration." ,
55 "private" : true ,
66 "scripts" : {
7+ "update-authors" : " ./bin/update-authors.sh" ,
78 "precommit" : " standard && npm run test" ,
89 "postinstall" : " lerna bootstrap" ,
910 "test" : " lerna run test" ,
You can’t perform that action at this time.
0 commit comments