From 1dee4d9d38977afcacbe4fc6476cefebd335f678 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sat, 15 Jul 2023 19:01:18 +0200 Subject: 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3