Address PR review.

This commit is contained in:
Eric Erhardt 2016-05-13 18:13:34 -05:00
parent 572d68de7e
commit 9b80eda72a

View file

@ -458,7 +458,7 @@ namespace Microsoft.DotNet.Cli.Build
List<string> buildVersions = new List<string>();
Regex buildVersionRegex = new Regex(@"Binaries/(?<version>\d+\.\d+\.\d+-[^-]+-\d{6})/$");
Regex buildVersionRegex = new Regex(@"Binaries/(?<version>\d+\.\d+\.\d+(?<prerelease>-[^-]+-\d{6})?)/$");
foreach (string file in AzurePublisherTool.ListBlobs(hostBlob))
{
@ -535,7 +535,9 @@ namespace Microsoft.DotNet.Cli.Build
}
if (missingRuntime)
{
Console.WriteLine($"Build version {buildVersion} is missing some runtime packages so not pushing this drop.");
}
return !missingRuntime;
}