Fix test asset publishing when retrying (dotnet/corefx#37116)
authorViktor Hofer <viktor.hofer@microsoft.com>
Wed, 24 Apr 2019 03:02:17 +0000 (05:02 +0200)
committerSantiago Fernandez Madero <safern@microsoft.com>
Wed, 24 Apr 2019 03:02:17 +0000 (22:02 -0500)
Fixes official builds that are retried, i.e.: https://dev.azure.com/dnceng/internal/_build/results?buildId=165244

Commit migrated from https://github.com/dotnet/corefx/commit/918609481617f5c167496925c02bf0329afbff76

eng/publish.proj

index 439dffa..58b5ffe 100644 (file)
                     ManifestCommit="$(ManifestCommit)"
                     ManifestBuildData="$(ManifestBuildData)"
                     ManifestRepoUri="$(ManifestRepoUri)"
-                    AssetManifestPath="$(AssetManifestFilePath)" />
+                    AssetManifestPath="$(AssetManifestFilePath)"
+                    Overwrite="true" />
 
     <ItemGroup>
       <_ManifestToPush Remove="@(_ManifestToPush)" />
                     ManifestCommit="$(ManifestCommit)"
                     ManifestBuildData="$(ManifestBuildData)"
                     ManifestRepoUri="$(ManifestRepoUri)"
-                    AssetManifestPath="$(AssetManifestDir)ManifestUpload.xml" />
+                    AssetManifestPath="$(AssetManifestDir)ManifestUpload.xml"
+                    Overwrite="true" />
   </Target>
 </Project>