How to publish nuget prerelease version package

后端 未结 2 1215
渐次进展
渐次进展 2020-12-25 10:32

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

2条回答
  •  别那么骄傲
    2020-12-25 11:24

    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

提交回复
热议问题