From dc37dbf520277fa7cfb0e13d003fd771896b891c Mon Sep 17 00:00:00 2001 From: hypervtechnics Date: Thu, 31 Mar 2022 15:57:22 +0200 Subject: [PATCH] chore: add new config options to default config issue: #45 --- cmd/git-sv/config.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/git-sv/config.go b/cmd/git-sv/config.go index 4bbd0e2..04fc14b 100644 --- a/cmd/git-sv/config.go +++ b/cmd/git-sv/config.go @@ -77,7 +77,10 @@ func defaultConfig() Config { UpdatePatch: []string{"build", "ci", "chore", "docs", "fix", "perf", "refactor", "style", "test"}, IgnoreUnknown: false, }, - Tag: sv.TagConfig{Pattern: "%d.%d.%d"}, + Tag: sv.TagConfig{ + Pattern: "%d.%d.%d", + Filter: "", + }, ReleaseNotes: sv.ReleaseNotesConfig{ Sections: []sv.ReleaseNotesSectionConfig{ {Name: "Features", SectionType: sv.ReleaseNotesSectionTypeCommits, CommitTypes: []string{"feat"}}, @@ -99,6 +102,7 @@ func defaultConfig() Config { "issue": {Key: "jira", KeySynonyms: []string{"Jira", "JIRA"}}, }, Issue: sv.CommitMessageIssueConfig{Regex: "[A-Z]+-[0-9]+"}, + HeaderSelector: "", }, } }