-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
GetBuildVersion fails with NotSupportedException when version is a simple number #251
Comments
This is by design. NB.GV walks git history to determine the "version height" which is a core part of how the automated versioning works. You should rebase to scrub commits with mistakes in your version.json authoring. The only other alternative is to author a commit which entirely removes |
Can the error message include this explanation and which commit id is causing it? |
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.8.0 to 17.9.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](microsoft/vstest@v17.8.0...v17.9.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
GetBuildVersion fails with NotSupportedException when
version
is a simple number (e.g. "16") even when it's in an older commit.Expected result:
When it's the latest commit, I'd expect an informative error message.
Otherwise there shouldn't be any errors.
Actual result:
The text was updated successfully, but these errors were encountered: