NuGet/Home
在 GitHub 查看nuget.exe pack with both -symbols and -suffix give incorrect name to symbol package
Open
#3,530 建立於 2016年9月26日
Functionality:PackPriority:2Type:Bughelp wanted
倉庫指標
- Star
- (1,459 star)
- PR 合併指標
- (平均合併 464天 23小時) (30 天內合併 1 個 PR)
描述
Steps
- Create a .nuspec on disk.
- Make sure there are some files to pack (
nuget.exe packwon't make an empty package). - Run
nuget.exe pack path\to\my.nuspec -symbols -suffix beta
Expected
Two nupkgs, one ending in beta.nupkg and the other ending in beta.symbols.nupkg.
Actual
The symbols package's file name has the version number without the suffix. The .nuspec inside the package seems fine though.
Example
nuget.exe pack VS.Redist.NuGet_VS15.nuspec -symbols -suffix BETA
Attempting to build package from 'VS.Redist.NuGet_VS15.nuspec'.
Successfully created package 'C:\Users\jver\Desktop\foo\VS.Redist.NuGet_VS15.3.5.160923.1438-BETA.nupkg'.
Successfully created package 'C:\Users\jver\Desktop\foo\VS.Redist.NuGet_VS15.3.5.160923.1438-bar.symbols.nupkg'.
Tried on latest dev and 3.5.0-rc1.