File: update-authors

package info (click to toggle)
sbws 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,084 kB
  • sloc: python: 10,432; sh: 146; makefile: 38
file content (22 lines) | stat: -rwxr-xr-x 437 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash

# Add <%aE> to the format string to get emails too
AUTHORS=$(git log --format='%aN' | sort -u |
    while read LINE
    do
        printf "* $LINE\n"
	done | sort --ignore-case
)
DATE=$(date +%Y-%m-%d)
COMMIT=$(git log -n 1 --format='%h')

cat << EOF
# Authors

The following people have contributed to Simple Bandwidth Scanner.
Thank you for helping make Tor better.

$AUTHORS

*Last updated: $DATE on $COMMIT*
EOF