From 3c6fe698efed9775a2f00f1258fc6f386d8d71bf Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Fri, 24 Apr 2020 14:02:27 -0700 Subject: [PATCH] [release/5.0.1xx-preview4] Generate versions sparsely (#7290) * Publish productVersion sparsely Do not publish the productVersion file in every leg. Publish only in win-x64, so that we don't end up uploading it for every manifest. Publishing breaks in this scenario today. This is a real bug in publishing, but we will probably tighten the restrictions in the Publish to BAR step so that multi-publishign the same asset is an error. Also remove the productCommit-* in cases where we have overlapping rids, which would cause the same problem --- eng/Publishing.props | 6 +++++- src/redist/targets/GenerateBundledVersions.targets | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/eng/Publishing.props b/eng/Publishing.props index c9c74f54e..92d32bac4 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -42,11 +42,15 @@ - + + + + diff --git a/src/redist/targets/GenerateBundledVersions.targets b/src/redist/targets/GenerateBundledVersions.targets index 490915f9e..b5cd873fe 100644 --- a/src/redist/targets/GenerateBundledVersions.targets +++ b/src/redist/targets/GenerateBundledVersions.targets @@ -7,7 +7,7 @@ File="$(ArtifactsShippingPackagesDir)productVersion.txt" Lines="$(PackageVersion)" Overwrite="true" - Encoding="ASCII"/> + Encoding="ASCII" />