Hi!
Currently i am facing the task of triggering a build pipeline when only for commits that don't match some tag regex.
I want to exclude in my staging environment everything that does not match .*[0-9]+.[0-9]+.[0-9]+.*
Basically the check uses somethign like this:
git tag --list --sort=creatordate | grep -Ex ${regex}
In my special case i would use invert matching using grep -v
e.g. git tag --list --sort=creatordate | grep -Exv ".*[0-9]+.[0-9]+.[0-9]+.*"
My proposal: a bool tag_regex_invertthat would enable the -v option for the grep commands using tag_regex.
Hi!
Currently i am facing the task of triggering a build pipeline when only for commits that don't match some tag regex.
I want to exclude in my staging environment everything that does not match
.*[0-9]+.[0-9]+.[0-9]+.*Basically the
checkuses somethign like this:git tag --list --sort=creatordate | grep -Ex ${regex}In my special case i would use invert matching using
grep -ve.g.
git tag --list --sort=creatordate | grep -Exv ".*[0-9]+.[0-9]+.[0-9]+.*"My proposal: a bool
tag_regex_invertthat would enable the-voption for the grep commands usingtag_regex.