validate authors target

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2021-12-21 01:44:40 +01:00
parent ede32747b5
commit bea6c0d242
5 changed files with 42 additions and 5 deletions

View File

@ -1,10 +1,8 @@
#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "${BASH_SOURCE[*]}")")/../.."
# see also ".mailmap" for how email addresses and names are deduplicated
OUT="${1:-.}"
{
cat <<-'EOH'
# This file lists all individuals having contributed content to the repository.
@ -12,4 +10,5 @@ cd "$(dirname "$(readlink -f "${BASH_SOURCE[*]}")")/../.."
EOH
echo
git log --format='%aN <%aE>' | LC_ALL=C.UTF-8 sort -uf
} > AUTHORS
} > "$OUT/AUTHORS"
cat "$OUT/AUTHORS"