From 688644d44e8897024f4a2f0c357196d5608f68ae Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Thu, 9 Jan 2020 21:13:46 -0800 Subject: [PATCH] Did a hack where we are writing the version to a file during build to be read during publish, as these are two separate builds by arcade and also passed the BuildNumberId so that the id is calculated properly during copy to latest. --- .vsts-ci.yml | 1 + eng/Publishing.props | 9 ++++++--- src/redist/targets/GenerateLayout.targets | 8 +++++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.vsts-ci.yml b/.vsts-ci.yml index 67048053d..cef288de0 100644 --- a/.vsts-ci.yml +++ b/.vsts-ci.yml @@ -236,6 +236,7 @@ stages: - group: DotNet-DotNetCli-Storage steps: - script: eng/CopyToLatest.cmd + /p:OfficialBuildId=$(BUILD.BUILDNUMBER) /p:DotnetPublishSdkAssetsBlobFeedUrl=https://dotnetcli.blob.core.windows.net/dotnet/index.json /p:DotNetPublishSdkAssetsBlobFeedKey=$(dotnetcli-storage-key) /p:DotnetPublishChecksumsBlobFeedUrl=https://dotnetclichecksums.blob.core.windows.net/dotnet/index.json diff --git a/eng/Publishing.props b/eng/Publishing.props index 0fec58745..7bf3a5f50 100644 --- a/eng/Publishing.props +++ b/eng/Publishing.props @@ -15,8 +15,6 @@ - - +