big-moving.ru/api/soft/CodeMirror/bin/authors.sh

7 lines
352 B
Bash
Raw Normal View History

2022-06-24 15:29:23 +05:00
# Combine existing list of authors with everyone known in git, sort, add header.
tail --lines=+3 AUTHORS > AUTHORS.tmp
git log --format='%aN' | grep -v "Piët Delport" >> AUTHORS.tmp
echo -e "List of CodeMirror contributors. Updated before every release.\n" > AUTHORS
sort -u AUTHORS.tmp | sed 's/Google Inc\./Google LLC/' >> AUTHORS
rm -f AUTHORS.tmp