From 3ba16336e583324d1f9a86fb8ec0cd61b7b1a2f6 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 30 Jun 2023 19:07:45 +0300 Subject: [PATCH] Allow release commits Signed-off-by: Alex Vanin --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7494456..29e9099 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,7 @@ import ( func main() { // Prepare regexp templates. - rxHeader := regexp.MustCompile(`^\[\#[0-9Xx]+\]\s`) + rxHeader := regexp.MustCompile(`^(\[\#[0-9Xx]+\]\s|Release)`) rxSignOff := regexp.MustCompile(`^Signed-off-by:`) // Open current git dir.