1
mirror of https://github.com/awesome-selfhosted/awesome-selfhosted synced 2024-11-21 22:00:11 +01:00
awesome-selfhosted/Makefile
nodiscc 1dee4d9d38
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
2023-07-15 19:01:18 +02:00

6 lines
260 B
Makefile
Executable File

#!/usr/bin/make -f
SHELL = /bin/bash
# update the AUTHORS file
contrib:
@mv .github/.mailmap . && printf "Commits|Author\n-------|---------------------------------------------------\n" > AUTHORS && git shortlog -sne >> AUTHORS && mv .mailmap .github/.mailmap