gen-authors.sh 345 B

123456789
  1. #!/usr/bin/env bash
  2. printf "# date: $(date)\n" > AUTHORS
  3. printf "# this file is auto-generated by scripts/gen-authors.sh\n\n" >> AUTHORS
  4. git log --format='%an <%ae>' --reverse --date=short master | awk '!seen[$0]++' | sort >> AUTHORS
  5. # if necessary, update your name here. for example: jdoe -> John Doe
  6. sed -i '' 's/^jdoe/John Doe/g' AUTHORS