I understand how to publish a nuget package using nuget command line
nuget command line
But I Have searched around I don't find docs about how to publish a nuget prerelease package
You only need to specify a version string that uses SemVer format (e.g. 1.0-beta) instead of the usual format (e.g. 1.0) and NuGet will automatically treat it as a prerelease package.
"As of NuGet 1.6, NuGet supports the creation of prerelease packages by specifying a prerelease string in the version number according to the Semantic Versioning (SemVer) specification." See NuGetDocs - Prerelease Versions
Also, prerelease version don't show up if their version number is lower than the stable version. For example if you have
Only the stable version will appear in the list.
If you have
The Prerelease version will be installable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With