diff options
Diffstat (limited to 'scripts/gen-authors.sh')
-rwxr-xr-x | scripts/gen-authors.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/gen-authors.sh b/scripts/gen-authors.sh new file mode 100755 index 00000000..3ef8391c --- /dev/null +++ b/scripts/gen-authors.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +printf "# date: $(date)\n" > AUTHORS +printf "# this file is auto-generated by scripts/gen-authors.sh\n\n" >> AUTHORS + +git log --format='%an <%ae>' --reverse --date=short master | awk '!seen[$0]++' | sort >> AUTHORS + +# if necessary, update your name here. for example: jdoe -> John Doe +sed -i '' 's/^jdoe/John Doe/g' AUTHORS |