grunt-git
grunt-git copied to clipboard
Log failed to match expected pattern?
Hey Guys,
i tried to build my current commit hash into grunt. But it seems that something went wrong. This is my error:
Running "gitlog:target" (gitlog) task
Warning: Log failed to match exepected pattern:
{
"hash": "5600e7484b146dd1bee77458ca37216190fdbd0d",
"author": {
"name": "<name>",
"email": "<email>"
},
"date": "Thu, 19 Feb 2015 20:45:43 +0100",
"subject": "<subject>",
"body": "<body>"
}
Use --force to continue.
Aborted due to warnings.
My code is
// grunt.initconfig...
gitlog: {
target: {
number: 1
}
},
So you have any idea how to solve it?
Thanks, Max
PS.: There is a typoerror in "expected". ;)
Ok i found, that it meight have problems with a subject like "test "commit"". The " seems to the problem, right?
I'm experiencing the same issue