2017-02-13 19:01:54 +00:00
|
|
|
#!/usr/bin/env bash
|
2022-11-15 07:24:55 +00:00
|
|
|
|
2014-07-24 22:49:39 +00:00
|
|
|
set -e
|
|
|
|
|
2022-11-15 07:24:55 +00:00
|
|
|
SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
2023-07-11 13:36:03 +00:00
|
|
|
ROOTDIR="$(cd "${SCRIPTDIR}/.." && pwd)"
|
2022-11-15 07:24:55 +00:00
|
|
|
|
|
|
|
set -x
|
2014-07-24 22:49:39 +00:00
|
|
|
|
|
|
|
# see also ".mailmap" for how email addresses and names are deduplicated
|
2022-11-15 07:24:55 +00:00
|
|
|
cat > "${ROOTDIR}/AUTHORS" <<- EOF
|
|
|
|
# File @generated by hack/generate-authors.sh. DO NOT EDIT.
|
|
|
|
# This file lists all contributors to the repository.
|
|
|
|
# See hack/generate-authors.sh to make modifications.
|
2014-07-24 22:49:39 +00:00
|
|
|
|
2022-11-15 07:24:55 +00:00
|
|
|
$(git -C "$ROOTDIR" log --format='%aN <%aE>' | LC_ALL=C.UTF-8 sort -uf)
|
|
|
|
EOF
|