generate-authors.sh 423 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. set -e
  3. # see also ".mailmap" for how email addresses and names are deduplicated
  4. OUT="${1:-.}"
  5. {
  6. cat <<-'EOH'
  7. # File @generated by scripts/docs/generate-authors.sh. DO NOT EDIT.
  8. # This file lists all contributors to the repository.
  9. # See scripts/docs/generate-authors.sh to make modifications.
  10. EOH
  11. echo
  12. git log --format='%aN <%aE>' | LC_ALL=C.UTF-8 sort -uf
  13. } > "$OUT/AUTHORS"
  14. cat "$OUT/AUTHORS"