branch: elpa/git-commit
commit 8d26868f41822691248da8a352b249ec50d74d22
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
make: Dependabot is a bot, not an author
---
Makefile | 3 ---
docs/Makefile | 6 +++++-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 6f7c842396..fe7ab15b52 100644
--- a/Makefile
+++ b/Makefile
@@ -151,9 +151,6 @@ texi:
authors:
@$(MAKE) -C docs authors
- @git commit --gpg-sign -m "AUTHORS.md: Update list of contributors" \
- -o -- docs/AUTHORS.md .mailmap
- @git show --pretty= -p HEAD
publish:
@$(MAKE) -C docs publish
diff --git a/docs/Makefile b/docs/Makefile
index 811b78b438..ccffa1cc0b 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -105,9 +105,13 @@ AUTHORS.md:
@printf "Generating AUTHORS.md..."
@test -e $(TOP).git \
&& (printf "$$AUTHORS_HEADER\n" > $@ \
- && git log --pretty=format:'- %aN' | sort -u >> $@ \
+ && git log --pretty=format:'- %aN' | sort -u | \
+ grep -v dependabot >> $@ \
&& printf "done\n" ; ) \
|| printf "FAILED (non-fatal)\n"
+ @git commit --gpg-sign -m "AUTHORS.md: Update list of contributors" \
+ -o -- $@ ../.mailmap || true
+ @git show --pretty= -p HEAD
PUBLISH_PATH ?= /manual/
RELEASE_PATH ?= /manual/$(VERSION)/