Closed sergiotejon closed 2 weeks ago
Fixed this problem formating using this pattern ||
for splitting the string given by git log
.
Now I'm getting this information through debug information:
ignore commit, no cc by pattern: feat(apps/app1/Mi_App): Introduce "asi es" and replace "Po eso"
ignore commit, no cc by pattern: feat(apps/app1): Initialize app1 structure
Fixed implementing the usage of https://github.com/leodido/go-conventionalcommits to parser the conventional commit information instead of regex directly.
Fail marshaling a json string based on commit information containing the character
"
.When running a bump over a commit message of this kind we received the next error:
This is the log that shows us by the git log information where we can check that the message has invalid characters in the json string:
We need to sanitize the git log output in JSON format before we try to unmarshal it in the code.