summaryrefslogtreecommitdiff
path: root/refresh-authors.sh
blob: a937cdfa098b31e594a4f3305109ae02a6420df3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -euo pipefail

# "git contributors" is https://github.com/calmh/git-contributors

git contributors --read-authors=AUTHORS --authors > authors-new
grep \# AUTHORS > authors-hdr
cat authors-hdr authors-new > AUTHORS
rm authors-hdr authors-new

git contributors --read-authors=AUTHORS --names --geekrank | sed 's/_/\\_/g' > thanks.txt