From 761601744b597fbd1d890ad01ed6237d44b1b187 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 10 Jan 2024 23:38:55 +0300 Subject: [PATCH 1/2] chore(tooling): Add git-cliff to developer dependencies --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 5d221d056..3f84a4031 100644 --- a/configure.ac +++ b/configure.ac @@ -217,6 +217,7 @@ AM_COND_IF([DEPENDENCY_CHECKS], [ AX_PROGVAR([delta]) AX_PROGVAR([diff]) AX_PROGVAR([docker]) + AX_PROGVAR([gitcliff], [git-cliff]) AX_PROGVAR([git]) AX_PROGVAR([grep]) AX_PROGVAR([head]) From dea224f22c4e3a8c17b05222a7764d4d60d595dd Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 10 Jan 2024 23:51:48 +0300 Subject: [PATCH 2/2] chore(tooling): Reword changelog generation using git-cliff --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index d9f677be3..90468fa58 100644 --- a/Makefile.am +++ b/Makefile.am @@ -159,8 +159,7 @@ sile-$(VERSION).pdf: $(MANUAL) $(INSTALL) $(MANUAL) $@ sile-%.md: CHANGELOG.md - $(SED) -e '/\.\.\.v$*/,/\.\.\.v/!d' CHANGELOG.md | \ - $(SED) -e '1,3d;N;$$!P;$$!D;$$d' > $@ + $(GITCLIFF) --unreleased > $@ check: selfcheck