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
When attempting to do vcpkg export with overriding a --nuget-version with something shorter than 3 dot-separated numbers (as per semver standard), vcpkg silently fixes that to match "X.Y.Z" semver schema by adding zeroes, and then shows a very misleading message about a file generated, which uses whatever a user has passed on the command line rather than what vcpkg used in reality while writing a file.
Environment
OS: Windows
Compiler: MSVC 2019
To Reproduce
Steps to reproduce the behavior:
Run ./vcpkg export gtest --nuget --nuget-id=gtest --nuget-version=1.2
Describe the bug
When attempting to do
vcpkg export
with overriding a--nuget-version
with something shorter than 3 dot-separated numbers (as per semver standard), vcpkg silently fixes that to match "X.Y.Z" semver schema by adding zeroes, and then shows a very misleading message about a file generated, which uses whatever a user has passed on the command line rather than what vcpkg used in reality while writing a file.Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg export gtest --nuget --nuget-id=gtest --nuget-version=1.2
X:\vcpkg\gtest.1.2.0.nupkg
, notX:\vcpkg\gtest.1.2.nupkg
.Expected behavior
vcpkg message should report correct file name, matching what it exports.
The text was updated successfully, but these errors were encountered: