Add some logging to see if nupkgs get build and published

These writelines can be removed once it is confirmed to work in
official builds.
This commit is contained in:
Wes Haggard 2016-04-06 15:28:12 -07:00
parent d6a1771c86
commit 318a60deaa
2 changed files with 15 additions and 12 deletions

View file

@ -195,6 +195,8 @@ namespace Microsoft.DotNet.Cli.Build
var fileName = Path.GetFileName(file);
File.Copy(file, Path.Combine(Dirs.Corehost, fileName), true);
runtimeCount += (fileName.StartsWith("runtime.") ? 1 : 0);
Console.WriteLine($"Copying package {fileName} to artifacts directory {Dirs.Corehost}.");
}
if (runtimeCount < 3)
{

View file

@ -101,6 +101,7 @@ namespace Microsoft.DotNet.Cli.Build
{
var hostBlob = $"{Channel}/Binaries/{CliNuGetVersion}/{Path.GetFileName(file)}";
AzurePublisherTool.PublishFile(hostBlob, file);
Console.WriteLine($"Publishing package {hostBlob} to Azure.");
}
return c.Success();