提交 167bae5e 编写于 作者: J Jared Parsons 提交者: GitHub

Merge pull request #20318 from jaredpar/fix-it

Fix a typo in the Build NuGet script
......@@ -34,7 +34,7 @@ var BuildingReleaseNugets = IsReleaseVersion(BuildVersion);
var NuspecDirPath = Path.Combine(SolutionRoot, "src/NuGet");
var OutDir = Path.GetFullPath(Args[2]).TrimEnd('\\');
var CommitSha = Args[3].Replace("<", "").Replace(">", "");
var CommitSha = Args[3];
var CommitIsDeveloperBuild = CommitSha == "<developer build>";
if (!CommitIsDeveloperBuild && !Regex.IsMatch(CommitSha, "[A-Fa-f0-9]+"))
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册