Skip to content

Alias branch types in config #995

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

Closed
JakeGinnivan opened this issue Aug 10, 2016 · 0 comments
Closed

Alias branch types in config #995

JakeGinnivan opened this issue Aug 10, 2016 · 0 comments

Comments

@JakeGinnivan
Copy link
Contributor

Lets be honest. Regexes as keys kinda sucks...

branches:
  (pull|pull\-requests|pr)[/-]:
    tag-name-pattern: '[/-](?<number>\d+)[-/]'

Lets fix this in v4 and change to something like:

branches:
  pullrequest:
    match: '(pull|pull\-requests|pr)[/-]'
    tag-name-pattern: '[/-](?<number>\d+)[-/]'
JakeGinnivan added a commit to JakeGinnivan/GitVersion that referenced this issue Aug 30, 2016
JakeGinnivan added a commit to JakeGinnivan/GitVersion that referenced this issue Sep 3, 2016
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

1 participant