-
Notifications
You must be signed in to change notification settings - Fork 903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support pinning with SemVer range #1278
Comments
I've added this - currently pushing this to 1.x. There is a nice workaround for this now, you could create a package that takes a dependency on BeyondCompare in that range and install it. |
Yeah, the dependent package would work, except for if you did a |
It could still work - however the NuGet.Core version we have doesn't really manage this aspect very well. |
It would be why it was set up that way for the upgrade all. However I think we could better manage it even in the context of what we have now. Perhaps file an issue? |
I prefer npm’s SemVer range syntax. |
I would like to be able to pin a package with a SemVer range.
This would be useful particularly when you want to not upgrade to a newer major version but do upgrade for any new minor versions.
For example if I was using Beyond Compare, but only had a license for v3 then I would not want to take any newer v4.x versions, but if they released a new 3.x then I would want that.
Something like:
choco pin add -n=beyondcompare -version="[3.0,4,0)"
Related
Clickup task.
The text was updated successfully, but these errors were encountered: