0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-22 08:20:39 +00:00

chore: add new config options to default config

issue: #45
This commit is contained in:
hypervtechnics 2022-03-31 15:57:22 +02:00
parent cde390c838
commit dc37dbf520

View File

@ -77,7 +77,10 @@ func defaultConfig() Config {
UpdatePatch: []string{"build", "ci", "chore", "docs", "fix", "perf", "refactor", "style", "test"}, UpdatePatch: []string{"build", "ci", "chore", "docs", "fix", "perf", "refactor", "style", "test"},
IgnoreUnknown: false, IgnoreUnknown: false,
}, },
Tag: sv.TagConfig{Pattern: "%d.%d.%d"}, Tag: sv.TagConfig{
Pattern: "%d.%d.%d",
Filter: "",
},
ReleaseNotes: sv.ReleaseNotesConfig{ ReleaseNotes: sv.ReleaseNotesConfig{
Sections: []sv.ReleaseNotesSectionConfig{ Sections: []sv.ReleaseNotesSectionConfig{
{Name: "Features", SectionType: sv.ReleaseNotesSectionTypeCommits, CommitTypes: []string{"feat"}}, {Name: "Features", SectionType: sv.ReleaseNotesSectionTypeCommits, CommitTypes: []string{"feat"}},
@ -99,6 +102,7 @@ func defaultConfig() Config {
"issue": {Key: "jira", KeySynonyms: []string{"Jira", "JIRA"}}, "issue": {Key: "jira", KeySynonyms: []string{"Jira", "JIRA"}},
}, },
Issue: sv.CommitMessageIssueConfig{Regex: "[A-Z]+-[0-9]+"}, Issue: sv.CommitMessageIssueConfig{Regex: "[A-Z]+-[0-9]+"},
HeaderSelector: "",
}, },
} }
} }