-
-
Notifications
You must be signed in to change notification settings - Fork 740
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
Misleading output message when trying to install prerelease package with the in-process nuget installer #2595
Comments
@cake-build/cake-team opinion time! Should we a) go back to initial behavior, and install prerelease package even though Or b) Throw an exception explaining that users must set IIRC, option a) is in conflict on how |
@cake-build/cake-team I vote for a, think there's already an open issue around this. |
I tend to agree with @devlead here. If the version is explicitly specified the assumption is the user wants that specific version. Obviously, if the version isn’t specified, only the latest non pre-release version should be resolved, unless they add the prerelease flag. |
No, this is the exact behaviour prior to 0.34.x, |
🎉 This issue has been resolved in version v1.0.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
What You Are Seeing?
When loading a script package via the preprocessor directive, the loading fails because the behavior of the in process nuget installer changed. Before
0.34.1
it allowed to install nuget packages with prelease versions without explicitly adding the&prerelease
statement.The current implementation in
0.34.1
will result in a misleading output message rather stating the fact that it was not possible to find a release version with the given version number.What is Expected?
What version of Cake are you using?
0.34.1
Are you running on a 32 or 64 bit system?
64
What environment are you running on? Windows? Linux? Mac?
Windows
The text was updated successfully, but these errors were encountered: