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);
|
||||
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)
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
|
@ -114,7 +115,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
var installerFile = c.BuildContext.Get<string>("SharedHostInstallerFile");
|
||||
|
||||
AzurePublisherTool.PublishInstallerFileAndLatest(installerFile, Channel, version);
|
||||
|
||||
|
||||
return c.Success();
|
||||
}
|
||||
|
||||
|
@ -126,7 +127,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
var installerFile = c.BuildContext.Get<string>("SharedFrameworkInstallerFile");
|
||||
|
||||
AzurePublisherTool.PublishInstallerFileAndLatest(installerFile, Channel, version);
|
||||
|
||||
|
||||
return c.Success();
|
||||
}
|
||||
|
||||
|
@ -219,10 +220,10 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
var osname = Monikers.GetOSShortName();
|
||||
var latestSharedFXVersionBlob = $"{Channel}/dnvm/latest.sharedfx.{osname}.{CurrentArchitecture.Current}.version";
|
||||
var latestSharedFXVersionFile = Path.Combine(
|
||||
Dirs.Stage2,
|
||||
"shared",
|
||||
CompileTargets.SharedFrameworkName,
|
||||
version,
|
||||
Dirs.Stage2,
|
||||
"shared",
|
||||
CompileTargets.SharedFrameworkName,
|
||||
version,
|
||||
".version");
|
||||
|
||||
AzurePublisherTool.PublishFile(latestSharedFXVersionBlob, latestSharedFXVersionFile);
|
||||
|
@ -240,8 +241,8 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
var uploadUrl = AzurePublisherTool.CalculateInstallerUploadUrl(installerFile, Channel, version);
|
||||
|
||||
DebRepoPublisherTool.PublishDebFileToDebianRepo(
|
||||
packageName,
|
||||
version,
|
||||
packageName,
|
||||
version,
|
||||
uploadUrl);
|
||||
|
||||
return c.Success();
|
||||
|
@ -258,8 +259,8 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
var uploadUrl = AzurePublisherTool.CalculateInstallerUploadUrl(installerFile, Channel, version);
|
||||
|
||||
DebRepoPublisherTool.PublishDebFileToDebianRepo(
|
||||
packageName,
|
||||
version,
|
||||
packageName,
|
||||
version,
|
||||
uploadUrl);
|
||||
|
||||
return c.Success();
|
||||
|
@ -276,8 +277,8 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
var uploadUrl = AzurePublisherTool.CalculateInstallerUploadUrl(installerFile, Channel, version);
|
||||
|
||||
DebRepoPublisherTool.PublishDebFileToDebianRepo(
|
||||
packageName,
|
||||
version,
|
||||
packageName,
|
||||
version,
|
||||
uploadUrl);
|
||||
|
||||
return c.Success();
|
||||
|
|
Loading…
Add table
Reference in a new issue