generate-authors.sh 494 B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. set -e
  3. SCRIPTDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  4. ROOTDIR="$(cd "${SCRIPTDIR}/.." && pwd)"
  5. set -x
  6. # see also ".mailmap" for how email addresses and names are deduplicated
  7. cat > "${ROOTDIR}/AUTHORS" <<- EOF
  8. # File @generated by hack/generate-authors.sh. DO NOT EDIT.
  9. # This file lists all contributors to the repository.
  10. # See hack/generate-authors.sh to make modifications.
  11. $(git -C "$ROOTDIR" log --format='%aN <%aE>' | LC_ALL=C.UTF-8 sort -uf)
  12. EOF