diff --git a/cmd/git-sv/main.go b/cmd/git-sv/main.go index c7c7c10..a41c78c 100644 --- a/cmd/git-sv/main.go +++ b/cmd/git-sv/main.go @@ -42,6 +42,9 @@ func main() { if merr := mergo.Merge(&cfg, repoCfg, mergo.WithOverride); merr != nil { log.Fatal(merr) } + if len(repoCfg.ReleaseNotes.Headers) > 0 { // mergo is merging maps, headers will be overwritten + cfg.ReleaseNotes.Headers = repoCfg.ReleaseNotes.Headers + } } messageProcessor := sv.NewMessageProcessor(cfg.CommitMessage, cfg.Branches)