github.com/rumpl/bof@v23.0.0-rc.2+incompatible/hack/generate-authors.sh (about)

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