From 637ca31d20c84fca8d8e5a74e8a79683c50a0c1e Mon Sep 17 00:00:00 2001 From: William Godbe Date: Tue, 8 Dec 2020 14:13:54 -0800 Subject: [PATCH] [release/5.0] Upload ProductVersion.txt to blob feed (#28482) * Upload ProductVersion.txt to blob feed * Only upload file during Winx64/x86 build * Deduplicate prop name --- eng/Publishing.props | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/eng/Publishing.props b/eng/Publishing.props index 3752cf44fd..af4586e00e 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -4,9 +4,11 @@ - $(PublishDependsOnTargets);_PublishInstallersAndChecksums + $(PublishDependsOnTargets);_PublishInstallersAndChecksumsAndProductVersion <_UploadPathRoot>aspnetcore + productVersion.txt + $(ArtifactsShippingPackagesDir)$(ProductVersionFileName) @@ -31,7 +33,9 @@ <_ChecksumsToPublish Include="$(ArtifactsDir)**\*.sha512" /> - + + + + + + + <_ProductVersion>@(_ResolvedProductVersionInfo->'%(PackageVersion)') + + + + +