Filter out nuget packages for the file publish list.
authorWes Haggard <Wes.Haggard@microsoft.com>
Wed, 29 Nov 2017 21:35:56 +0000 (13:35 -0800)
committerWes Haggard <Wes.Haggard@microsoft.com>
Wed, 29 Nov 2017 21:37:56 +0000 (13:37 -0800)
Add extra logging for uploading and downloading packages

Commit migrated from https://github.com/dotnet/core-setup/commit/426871f00c417c8edad84fe221abb015f00dc024

src/installer/publish/publish-type.proj
src/installer/publish/publish.proj

index 3754ca8..ce55583 100644 (file)
@@ -56,6 +56,8 @@
     </PropertyGroup>
     <MakeDir Directories="$(DownloadDirectory)" Condition="!Exists('$(DownloadDirectory)')" />
 
+    <Messsage Text="Downloading files from $(AzureAccountName)/$(ContainerName)/$(BinariesRelativePath) into $(DownloadDirectory)" />
+
     <DownloadFromAzure AccountName="$(AzureAccountName)"
                        AccountKey="$(AzureAccessToken)"
                        ContainerName="$(ContainerName)"
@@ -68,7 +70,7 @@
 
       <!-- Setup item groups for PublishPackagesToBlobFeed and PublishFilesToBlobFeed -->
       <PackagesToPublish Include="$(DownloadDirectory)**\*.nupkg" />
-      <FilesToPublish Include="$(DownloadDirectory)**\*.*" Exclude="$(PackagesToPublish)" />
+      <FilesToPublish Include="$(DownloadDirectory)**\*.*" Exclude="@(PackagesToPublish)" />
     </ItemGroup>
   </Target>
 
index 9e1ae38..cc6acb1 100644 (file)
@@ -88,6 +88,9 @@
         <RelativeBlobPath>$(RelativeBlobPath)/%(Filename)%(Extension)</RelativeBlobPath>
       </ItemsToPublish>
     </ItemGroup>
+
+    <Messsage Text="Uploading files to $(AzureAccountName)/$(ContainerName)/$(RelativeBlobPath)" />
+
     <UploadToAzure AccountName="$(AzureAccountName)"
                    AccountKey="$(AzureAccessToken)"
                    ContainerName="$(ContainerName)"
         <RelativeBlobPath>$(RelativeBlobPath)/%(Filename)%(Extension)</RelativeBlobPath>
       </ItemsToPublish>
     </ItemGroup>
+
+    <Messsage Text="Uploading checksum files to $(ChecksumAzureAccountName)/$(ChecksumContainerName)/$(RelativeBlobPath)" />
+
     <UploadToAzure AccountName="$(ChecksumAzureAccountName)"
                    AccountKey="$(ChecksumAzureAccessToken)"
                    ContainerName="$(ChecksumContainerName)"