From ba6e91bbd6c62c617120cf4a70233a9b95ca5c93 Mon Sep 17 00:00:00 2001 From: Eduard Veit Date: Thu, 26 May 2022 10:25:23 +0200 Subject: [PATCH] =?UTF-8?q?dev:=20=F0=9F=94=83=20strip=20more=20prefix=20v?= =?UTF-8?q?ariants=20from=20commits=20for=20changelog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitchangelog.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitchangelog.rc b/.gitchangelog.rc index 282c74e..c35fbce 100644 --- a/.gitchangelog.rc +++ b/.gitchangelog.rc @@ -158,7 +158,7 @@ body_process = ReSub(r'((^|\n)[A-Z]\w+(-\w+)*: .*(\n\s+.*)*)+$', r'') | strip ## ## Available constructs are those listed in ``body_process`` doc. subject_process = (strip | - ReSub(r'^([cC]hg|[fF]ix|[nN]ew)\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n@]*)(@[a-z]+\s+)*$', r'\4') | + ReSub(r'^([cC]hg|[fF]ix|[nN]ew|[dD]oc|[fF]eat|[aA]dd|[cC]hange)\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n@]*)(@[a-z]+\s+)*$', r'\4') | SetIfEmpty("No commit message.") | ucfirst | final_dot)