-
Notifications
You must be signed in to change notification settings - Fork 654
GitVersion.Portable crashes on branch "development" GitVersion.yml has config for a branch named "development". #868
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
Comments
The output from
The development configuration is listed twice. Once explcitly, and once as a regex. |
If you match the existing development regex it will be fine
I don't think we have a way to ignore an existing default config, just update it's settings |
@JakeGinnivan: But wouldn't it be less surprising if explicit config did override the default/implicit config? If we get a branch match on the explicit config, we shouldn't apply the default one to the same branch. |
@JakeGinnivan Developers need to have intimate knowledge of that spesific regex to override it. That seems a bit opaque. |
Given a repository with a branch called development, and this branch is checked out, and in the working directory, there is a valid GitVersion.yml file, that have explicit branch configuration for the branch development.
It seems like the "development" branch is found twice.(The regex is added the "search collection" that have the development branch explicitly added from config?)
The problem does not persist on other branch names.
The problem does persist even if we use the obsolete GitVersionConfig.yaml.
The GitVersion.yml in question:
The text was updated successfully, but these errors were encountered: