Fix the FinalizeBuild publish artifacts.
There was a mix-up in the trailing slashes, causing assets to go into an unnamed folder.
This commit is contained in:
parent
ba1715b8a6
commit
d88546e523
1 changed files with 3 additions and 3 deletions
|
@ -51,8 +51,8 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
{
|
{
|
||||||
if (CheckIfAllBuildsHavePublished())
|
if (CheckIfAllBuildsHavePublished())
|
||||||
{
|
{
|
||||||
string targetContainer = $"{AzurePublisher.Product.Sdk}/{Channel}/";
|
string targetContainer = $"{AzurePublisher.Product.Sdk}/{Channel}";
|
||||||
string targetVersionFile = $"{targetContainer}{CommitHash}";
|
string targetVersionFile = $"{targetContainer}/{CommitHash}";
|
||||||
string semaphoreBlob = $"{targetContainer}/publishSemaphore";
|
string semaphoreBlob = $"{targetContainer}/publishSemaphore";
|
||||||
AzurePublisherTool.CreateBlobIfNotExists(semaphoreBlob);
|
AzurePublisherTool.CreateBlobIfNotExists(semaphoreBlob);
|
||||||
string leaseId = AzurePublisherTool.AcquireLeaseOnBlob(semaphoreBlob);
|
string leaseId = AzurePublisherTool.AcquireLeaseOnBlob(semaphoreBlob);
|
||||||
|
@ -104,7 +104,7 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
string targetName = Path.GetFileName(blob)
|
string targetName = Path.GetFileName(blob)
|
||||||
.Replace(CliNuGetVersion, "latest");
|
.Replace(CliNuGetVersion, "latest");
|
||||||
|
|
||||||
string target = $"{destinationFolder}{targetName}";
|
string target = $"{destinationFolder}/{targetName}";
|
||||||
AzurePublisherTool.CopyBlob(blob, target);
|
AzurePublisherTool.CopyBlob(blob, target);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue