I am trying to run this git command on my pipeline:
export GIT_RELEASE_NOTES="$(git log -n 5 --pretty=format:"- %s" --grep=booooooo --invert-grep )"
and I get this error:
fatal: unrecognized argument: --invert-grep
please note that I have run the same command on my terminal and works fine,
and if I removed "--invert-grep" from the script it works also.
what I am missing here?
It seems like the problem is in the git version, how can I update git version on pipeline?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.