From d95f82e3ba7e6650a4a7334ee5b8541dff137038 Mon Sep 17 00:00:00 2001 From: hau Date: Thu, 17 Dec 2020 17:54:58 +0700 Subject: [PATCH] fix(changelog): wrong header for fixed type --- pkg/changelog/markdown.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/changelog/markdown.go b/pkg/changelog/markdown.go index 92cbd70..26f9b86 100644 --- a/pkg/changelog/markdown.go +++ b/pkg/changelog/markdown.go @@ -90,7 +90,7 @@ func (g *MarkdownGenerator) getNewNodes(commits []convention.Commit) []markdown. if len(commitBases[fixedType]) != 0 { result = append(result, markdown.NewHeader(thirdLevel, fixedType)) - result = append(result, commitBases[addedType]...) + result = append(result, commitBases[fixedType]...) } if len(commitBases[othersType]) != 0 {