aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2023-07-15 17:01:18 +0000
committernodiscc <nodiscc@gmail.com>2023-07-15 17:01:18 +0000
commit1dee4d9d38977afcacbe4fc6476cefebd335f678 (patch)
tree78bb6f0b4c003d83f2b109573ed5a919de614750 /Makefile
parentPull Request template: require forks to provide a list of differences to the ... (diff)
downloadawesome-selfhosted-1dee4d9d38977afcacbe4fc6476cefebd335f678.tar.gz
awesome-selfhosted-1dee4d9d38977afcacbe4fc6476cefebd335f678.zip
tools/authors: use plaintext instead of markdown for the authors file
- move the authors file to AUTHORS as recommended by https://www.gnu.org/prep/maintain/html_node/Recording-Contributors.html - simplifies tooling and reduces the risk of invalid markdown injection from a contributor's email address/name
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 17ed56cb..9c8a08d0 100755
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#!/usr/bin/make -f
SHELL = /bin/bash
-# update the AUTHORS.md file
+# update the AUTHORS file
contrib:
- @mv .github/.mailmap . && printf "|Commits | Author |\n| :---: | --- |\n" > AUTHORS.md && git shortlog -sne | sed -r 's/^\s*([[:digit:]]*?)\s*?(.*?)/|\1|\2|/' >> AUTHORS.md && mv .mailmap .github/.mailmap
+ @mv .github/.mailmap . && printf "Commits|Author\n-------|---------------------------------------------------\n" > AUTHORS && git shortlog -sne >> AUTHORS && mv .mailmap .github/.mailmap