Add virtual dir ending slash (dotnet/core-setup#2872)
authorDavis Goodin <dagood@users.noreply.github.com>
Thu, 20 Jul 2017 18:19:42 +0000 (13:19 -0500)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2017 18:19:42 +0000 (13:19 -0500)
This prevents a stabilized version from downloading all nupkgs in the blob storage container.

Commit migrated from https://github.com/dotnet/core-setup/commit/632aa6827e4ffba5f3cb1ec9fb105100c85f7f23

src/installer/publish/publish.proj

index aec9e27..f0b7889 100644 (file)
     <ListAzureBlobs AccountName="$(AzureAccountName)"
                       AccountKey="$(AzureAccessToken)"
                       ContainerName="$(ContainerName)"
-                      FilterBlobNames="Runtime/$(SharedFrameworkNugetVersion)">
+                      FilterBlobNames="Runtime/$(SharedFrameworkNugetVersion)/">
       <Output TaskParameter="BlobNames" ItemName="_BlobList" />
     </ListAzureBlobs>
     <ItemGroup>
                            AccountKey="$(AzureAccessToken)"
                            ContainerName="$(ContainerName)"
                            BlobNames="@(_CoreHostPackages)"
-                           BlobNamePrefix="Runtime/$(SharedFrameworkNugetVersion)"
+                           BlobNamePrefix="Runtime/$(SharedFrameworkNugetVersion)/"
                            DownloadDirectory="$(DownloadDirectory)" />
     <ItemGroup>
       <_DownloadedPackages Include="@(_CoreHostPackages->'$(PublishDirectory)%(Filename)%(Extension)')" />