From 9b80eda72a4684adaa7203bfc383e2dcacc2c115 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Fri, 13 May 2016 18:13:34 -0500 Subject: [PATCH] Address PR review. --- scripts/dotnet-cli-build/PublishTargets.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/dotnet-cli-build/PublishTargets.cs b/scripts/dotnet-cli-build/PublishTargets.cs index 7ea500295..847eb4148 100644 --- a/scripts/dotnet-cli-build/PublishTargets.cs +++ b/scripts/dotnet-cli-build/PublishTargets.cs @@ -458,7 +458,7 @@ namespace Microsoft.DotNet.Cli.Build List buildVersions = new List(); - Regex buildVersionRegex = new Regex(@"Binaries/(?\d+\.\d+\.\d+-[^-]+-\d{6})/$"); + Regex buildVersionRegex = new Regex(@"Binaries/(?\d+\.\d+\.\d+(?-[^-]+-\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; }