-
Notifications
You must be signed in to change notification settings - Fork 342
[Enhancement] Cpack should support -Version #526
Comments
It appears that it supports a -Version argument but that help menu is the same across all commands. We are rewriting choco in c# and the help menus are very specific. |
I don't think I understand what you're saying. I tried cpack -Version and it didn't pass it on to nuget.exe, (it used the version in the nuspec file). Using nuget.exe with the arguments passed by cpack worked fine. |
I see what you mean. It is passing the help through to nuget, but choco itself doesn't support a -version option at the current time. |
ah... I think I understand. when I did cpack /?, I saw the nuget help, not the cpack help :) Understood. So until it's implemented (if planned), cpack doesn't support -Version, if it's required to use -Version, use nuget pack instead. |
It's planned. :) |
Hi,
cpack /? says it supports a -Version command line parameter with as argument the version to overwrite the version in the nuspec file. However it never passes this to the nuget.exe called. So this command line parameter doesn't do anything.
The text was updated successfully, but these errors were encountered: