It’s important for us because we need to split deployments depending on this matching. As you can see, we can’t just use CIRCLE_BRANCH because some time branch name might be dynamic.
I think the best way would be to use CIRCLE_BRANCH and do a regex to find the word feature.
It’s important for us because we need to split deployments depending on this matching.
But I am not sure what you are trying to do when you say you need to split deployments based on matching. I would run different commands for different branches. Perhaps I am missing something?