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