-
Notifications
You must be signed in to change notification settings - Fork 906
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
Compatibility with prerelease string starting with a number. Compatibility with GitVersion and NuGet v3.5+ #1158
Comments
This seems like the same issue NuGet < 3.5 had, that it couldn't handle pre-release tags starting with a number. There is already an open issue over at the GitVersion repository for providing version numbers which should work with NuGet < 3.5 and therefore also be suitable for Chocolatey: GitTools/GitVersion#781 |
This is not NuGet. This uses NuGet.Core framework, but that doesn't mean it has some of the newest stuff yet. Perhaps we should better document this somewhere. I'm going to tag this as related to #508, as moving foward should resolve this issue. |
+1 here. We are using GitVersion for our versions as well and ran into this. @ferventcoder I think this is why I hit the bad gateway error today (running choco push manually complains about the version string). |
@bbowman thanks for logging this. |
We are using 0.10.5 and it is still problem! Is there are an ETA on this? |
Hi @subhiandrews - I am going to move this from the 0.10.x milestone to 0.10.7. Keep an eye on that milestone as it could change. Yes this is still a known issue, and it will be until a released version of Chocolatey (key in on the milestone for the fix version) is released. |
Most likely the issue isn't the number, it is using "-" multiple times in the version string. |
It sounds like this would need a fix on the server side as well to recognize this as a valid string. Let's get an issue created there as well. Please follow https://github.com/chocolatey/chocolatey.org/issues/516 |
@ferventcoder I don't think the issue is with multiple dashes in a pre-release version string, as that is what I did when I had to update the wixtoolset package once: https://chocolatey.org/packages/wixtoolset/3.11.0.1528-rc2-20170424 |
Yeah I experienced that it's the number first in the prerelease string that is the problem. |
Any news on that to support v3 and not only v2 ? |
@DiscoveringWorld rather than posting the same question in multiple places, let's keep the conversation in once place. The correct place to continue discussing this is in this issue: #508 |
Prerelease strings that start with a number are a part of semver v2, so this issue is a duplicate of #1610 |
We use GitVersion to create semantic versions from git flow branches: it works perfectly with Nuget 3.5 but we get some trouble with Chocolatey:
What You Are Seeing?
5.79.2-6297-eventstorem004 is not a valid version string
What is Expected?
This is given by GitVersion for Nuget and it is supposed to work. If you use the same command, same nuspec with Nuget 3.5, it just works.
How Did You Get This To Happen? (Steps to Reproduce)
The text was updated successfully, but these errors were encountered: