mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2024-11-21 16:56:29 +00:00
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
This commit is contained in:
parent
3ce8820185
commit
1dee4d9d38
4
Makefile
4
Makefile
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
SHELL = /bin/bash
|
SHELL = /bin/bash
|
||||||
# update the AUTHORS.md file
|
# update the AUTHORS file
|
||||||
contrib:
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user