GitTools/GitVersion

[Bug] GitVersion.MsBuild v5.6.7 seems to require the presence of GitVersion.yml now

Closed this issue ยท 3 comments

Describe the bug

Build failing when upgrading from v5.6.6 to v5.6.7 because GitVersion.yml cannot be found

Expected Behavior

Although this project does not define any GitVersion.yml, everything should work smoothly as with the previous version.

Actual Behavior

GitVersion.MsBuild complains saying: The configuration file was not found at '/home/runner/work/Delta.Units/Delta.Units/src/Delta.Units/GitVersion.yml' or '/home/runner/work/Delta.Units/Delta.Units/GitVersion.yml'

Possible Fix

In the meantime, adding a GitVersion.yml at the root of the repository fixes the build. But that's a workaround, I think GitVersion.yml should not become mandatory from one minor version to another.

Steps to Reproduce

Create a project that uses GitVersion.MsBuild, but do not provide a GitVersion.yml file.

Context

Raised by dependabot automatic PR

Your Environment

I have same issue.

Version 5.6.6 works fine, but version 5.6.7 is broken

This is indeed a bug and I'm quite surprised this doesn't break 99% of our tests.

๐ŸŽ‰ This issue has been resolved in version 5.6.9 ๐ŸŽ‰
The release is available on:

Your GitReleaseManager bot ๐Ÿ“ฆ๐Ÿš€