From b4ac8132896fb29113c1d6b1105c133e9154eac0 Mon Sep 17 00:00:00 2001 From: Esequiel Virtuoso Date: Wed, 28 Feb 2024 12:30:50 -0300 Subject: [PATCH] type: [docs], message: Add warn to the end of the commit lint function. --- src/semantic/semantic.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/semantic/semantic.go b/src/semantic/semantic.go index 1e70a25..73bcb68 100644 --- a/src/semantic/semantic.go +++ b/src/semantic/semantic.go @@ -143,6 +143,8 @@ func (s *Semantic) CommitLint() error { return errors.New("commit messages dos not meet semantic-release pattern") } + s.log.Info(colorRed + "Remember to adapt the " + colorBGRed + "MERGE REQUEST TITLE" + colorRed + " or the " + colorBGRed + "MERGE COMMIT MESSAGE" + colorRed + " to semantic-release standards so it can properlly generate the new tag release." + colorReset) + return nil }