1
0
mirror of https://github.com/coturn/coturn.git synced 2026-10-24 00:08:57 +03:00
Files
coturn/authors.sh
2026-07-26 23:27:56 -07:00

15 lines
531 B
Bash
Executable File

#!/bin/bash
set -e
SOURCE_DIR=`pwd`
# Generate AUTHORS
echo "Thanks to the following contributors (in alphabetical order):" > ${SOURCE_DIR}/AUTHORS.md
echo "" >> ${SOURCE_DIR}/AUTHORS.md
# One entry per contributor name (first email wins), sorted case-insensitively.
# Dedupe by name so a contributor who used several email addresses is listed once.
git log --pretty=format:'%an <%ae>' | grep -v dependabot | sort -f | \
awk -F' <' '!seen[$1]++' | sed 's/^/- /' >> ${SOURCE_DIR}/AUTHORS.md
echo "" >> ${SOURCE_DIR}/AUTHORS.md