如何发布nuget预发布版本包 [英] How to publish nuget prerelease version package

查看:18
本文介绍了如何发布nuget预发布版本包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解如何使用 nuget 命令行发布 nuget 包

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

这篇关于如何发布nuget预发布版本包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆