You've already forked go-semantic-release
fix(analyzer): fix commit message body parser
In special cases the body of a commit was not correctly interpreted and the changelog was displayed wrongly.
This commit is contained in:
committed by
Felix Wiedmann
parent
bcb21d917d
commit
03f2eeadaa
@@ -14,7 +14,8 @@ import (
|
||||
|
||||
const breakingChangeKeywords = "BREAKING CHANGE"
|
||||
const defaultBreakingChangePrefix = breakingChangeKeywords + ":"
|
||||
const footerTokenRegex = "^(?P<token>[^\\s][\\w\\- ]+[^\\s])<SEP>.*"
|
||||
const footerTokenRegex = "^(?P<token>[^\\s*-][\\w\\- ]+[^\\s])<SEP>.*"
|
||||
|
||||
var defaultTokenSeparators = [2]string{": ", " #"}
|
||||
|
||||
// Analyzer struct
|
||||
|
||||
Reference in New Issue
Block a user