-
Notifications
You must be signed in to change notification settings - Fork 525
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
Issue with NuGet package prerelease version containing "-" #841
Comments
Having hyphen (actually minus) in pre-release version part is allowed according to SemVer and not forbidden anywhere in NuSpec that I could find. From SemVer:
|
Issue seems to be originating here:
|
As a workaround one could use |
No that's the bootstrapper. The issue is probably in similar code in
|
Sorry, here is the code from Paket.Core: Paket/src/Paket.Core/SemVer.fs Line 132 in 8a6bbb5
|
should be fixed. could you please retry? |
Now it works fine. Cheers! |
Paket on Windows omits version after and including second "-" in prerelease version number. This results in issue when trying to update from
3.0.0-alpha-0008
to3.0.0-alpha-0009
as Paket findsMyPackage.3.0.0-alpha.nupkg
in cache and just restores previous version instead of new one.This is was I get in the log when restoring package:
Paket should maintain whole version when storing downloaded packages in cache.
The text was updated successfully, but these errors were encountered: