From 902ae5f8e329783b1be79a7036d9d484eca3a40d Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Mon, 7 Oct 2019 13:11:06 -0700 Subject: [PATCH] [release/3.0.1xx] Publish SDK bits to a suffixed location (#5078) * Publish SDK bits to a suffixed location Also, when DropSuffix==true, copy all files that contain the stable sdk version to a file containing the non-stable file name --- eng/Publishing.props | 46 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/eng/Publishing.props b/eng/Publishing.props index ed7bbcd19..6626f263b 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -58,26 +58,62 @@ BeforeTargets="Publish" DependsOnTargets="SetSdkVersionInfo" Condition=" '$(PublishSdkAssetsAndChecksumsToBlob)' == 'true' "> + + + + + $(ArtifactsShippingPackagesDir)/$([System.String]::Copy('%(Filename)%(Extension)').Replace('$(SdkVersion)' ,'$(FullNuGetVersion)')) + + + $(ArtifactsShippingPackagesDir)/$([System.String]::Copy('%(Filename)%(Extension)').Replace('$(SdkVersion)' ,'$(FullNuGetVersion)')) + + + + + + + + + + + - $(BlobStoragePartialRelativePath)/$(SdkVersion)/$([System.String]::Copy('%(Filename)%(Extension)').Replace('\' ,'/')) + $(BlobStoragePartialRelativePath)/$(FullNugetVersion)/$([System.String]::Copy('%(Filename)%(Extension)')) - $(BlobStoragePartialRelativePath)/$(SdkVersion)/$([System.String]::Copy('%(Filename)%(Extension)').Replace('\' ,'/')) + $(BlobStoragePartialRelativePath)/$(FullNugetVersion)/$([System.String]::Copy('%(Filename)%(Extension)')) NonShipping=true - $(BlobStoragePartialRelativePath)/$(SdkVersion)/$([System.String]::Copy('%(Filename)%(Extension)').Replace('\' ,'/')) + $(BlobStoragePartialRelativePath)/$(FullNugetVersion)/$([System.String]::Copy('%(Filename)%(Extension)')) + + + $(BlobStoragePartialRelativePath)/$(FullNugetVersion)/$([System.String]::Copy('%(Filename)%(Extension)')) + NonShipping=true + + + + $(BlobStoragePartialRelativePath)/$(FullNugetVersion)/$([System.String]::Copy('%(Filename)%(Extension)')) + NonShipping=true +