private static void CopyBlobsToLatest(string destinationFolder) { foreach (string blob in AzurePublisherTool.ListBlobs(AzurePublisher.Product.Sdk, CliNuGetVersion)) { string targetName = Path.GetFileName(blob) .Replace(CliNuGetVersion, "latest"); string target = $"{destinationFolder}/{targetName}"; AzurePublisherTool.CopyBlob(blob, target); } }
private static void CopyBlobs(string sourceFolder, string destinationFolder) { foreach (string blob in AzurePublisherTool.ListBlobs(sourceFolder)) { string source = blob.Replace("/dotnet/", ""); string targetName = Path.GetFileName(blob) .Replace(SharedFrameworkNugetVersion, "latest") .Replace(SharedHostNugetVersion, "latest"); string target = $"{destinationFolder}{targetName}"; AzurePublisherTool.CopyBlob(source, target); } }