Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch name regex support #22

Closed
bh86 opened this issue May 30, 2018 · 2 comments
Closed

Branch name regex support #22

bh86 opened this issue May 30, 2018 · 2 comments

Comments

@bh86
Copy link

bh86 commented May 30, 2018

Hi,

Is it possible to support Regex as the branch name? it will be very helpful to target multiple branches or a naming convention (e.g. feature branch).

Thanks.

@Norbz
Copy link

Norbz commented May 31, 2018

I agree, I ran into the same issue while using git flow. Ability to match branches like release/vx.y.z would be great.

I would recommand using minimatch, using the glob syntax, over regexp as it is way more easy to write and should be enough for all cases.

There's a PR with my proposal. You can use my own fork if you want for now

@kevinoid
Copy link
Owner

Thanks for the suggestion @bh86. I've added support in b1834f0 (and support for case-insensitive matching in bc4485f). Do those look like they will work for you? If so, I'm planning to make a release after making a decision on #23.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants