summaryrefslogtreecommitdiff
path: root/scripts/gen-authors.sh
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-04-09 09:23:19 +0300
committerGitHub <noreply@github.com>2024-04-09 09:23:19 +0300
commite11a8999b5690f810c2c99c14347f0834e68c524 (patch)
tree5ee6411bb0151bbdb3efb0ad947d7982659ef16d /scripts/gen-authors.sh
parentcc4a95426d17417d3c83f12bdb514fbe8abe2a88 (diff)
license : update copyright notice + add AUTHORS (#6405)
* license : add AUTHORS * authors : update * scipts : add LICENSE and gen-authors.sh to sync
Diffstat (limited to 'scripts/gen-authors.sh')
-rwxr-xr-xscripts/gen-authors.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/gen-authors.sh b/scripts/gen-authors.sh
new file mode 100755
index 00000000..3ef8391c
--- /dev/null
+++ b/scripts/gen-authors.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+printf "# date: $(date)\n" > AUTHORS
+printf "# this file is auto-generated by scripts/gen-authors.sh\n\n" >> AUTHORS
+
+git log --format='%an <%ae>' --reverse --date=short master | awk '!seen[$0]++' | sort >> AUTHORS
+
+# if necessary, update your name here. for example: jdoe -> John Doe
+sed -i '' 's/^jdoe/John Doe/g' AUTHORS