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:
parent
d6a1771c86
commit
318a60deaa
2 changed files with 15 additions and 12 deletions
|
@ -195,6 +195,8 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
var fileName = Path.GetFileName(file);
|
var fileName = Path.GetFileName(file);
|
||||||
File.Copy(file, Path.Combine(Dirs.Corehost, fileName), true);
|
File.Copy(file, Path.Combine(Dirs.Corehost, fileName), true);
|
||||||
runtimeCount += (fileName.StartsWith("runtime.") ? 1 : 0);
|
runtimeCount += (fileName.StartsWith("runtime.") ? 1 : 0);
|
||||||
|
|
||||||
|
Console.WriteLine($"Copying package {fileName} to artifacts directory {Dirs.Corehost}.");
|
||||||
}
|
}
|
||||||
if (runtimeCount < 3)
|
if (runtimeCount < 3)
|
||||||
{
|
{
|
||||||
|
|
|
@ -101,6 +101,7 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
{
|
{
|
||||||
var hostBlob = $"{Channel}/Binaries/{CliNuGetVersion}/{Path.GetFileName(file)}";
|
var hostBlob = $"{Channel}/Binaries/{CliNuGetVersion}/{Path.GetFileName(file)}";
|
||||||
AzurePublisherTool.PublishFile(hostBlob, file);
|
AzurePublisherTool.PublishFile(hostBlob, file);
|
||||||
|
Console.WriteLine($"Publishing package {hostBlob} to Azure.");
|
||||||
}
|
}
|
||||||
|
|
||||||
return c.Success();
|
return c.Success();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue