You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree it should be consistent, but I'm not sure whether GitVersion.Tool should start using FullSemVer or GitVersion.MsBuild should start using NuGetVersionV2. But one of them should probably change to the other. Thoughts, @arturcic?
I agree that we need to make it consistent, but I would go for $(GitVersion_NuGetVersion) for both cases. @vhatsura are you in a position to make this change and submit a PR?
Describe the bug
GitVersion.Tool sets
NuGetVersionV2
asVersion
attribute in project file, however,GitVersion.MsBuild
usesFullSemVer
.Expected Behavior
GitVersion.MsBuild
should useNuGetVersionV2
asVersion
attribute in project file.Actual Behavior
FullSemVer
is used as the value for theVersion
attribute in the project file.Possible Fix
Change a value in targets to
$(GitVersion_NuGetVersionV2)
Steps to Reproduce
Context
It prevents from setting proper version for NuGet package with padded prerelease tag. As a workaround, it's possible to disable
UseFullSemVerForNuGet
.Your Environment
The text was updated successfully, but these errors were encountered: