You've already forked go-semantic-release
feat(conventional): parse body and footers according to the rules
Previous assumption about multiple labeled body blocks and footers is not correct. There is only one body text block with multi-line support. A footer always starts with a token with a separator. - A body ends when a footer is found or text ends. - A footer ends when another footer is found or text ends.
This commit is contained in:
@@ -15,7 +15,7 @@ const (
|
||||
|
||||
// AnalyzerConfig struct
|
||||
type AnalyzerConfig struct {
|
||||
BlockPrefixes []string `yaml:"blockPrefixes"`
|
||||
TokenSeparators []string `yaml:"tokenSeparators"`
|
||||
}
|
||||
|
||||
// ChangelogConfig struct
|
||||
|
||||
Reference in New Issue
Block a user