'Nupkg not reading baseversion from gitinfo.txt
I am building a package using nuget and facing issues with the versioning of the package. I have defined base version to be 1.0.10 in the gitinfo file but it is creating the pkg with 1.0.5 version. How do I force it to use 1.0.10 as base version?
Solution 1:[1]
You're probably using a version string constants composed with:
Git.BaseVersion.Major + "." +
Git.BaseVersion.Minor + "." +
Git.BaseVersion.Commits
instead of:
Git.BaseVersion.Major + "." +
Git.BaseVersion.Minor + "." +
Git.BaseVersion.Patch
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Yann Duran |
