From 0c4bcdcc559e338f978acb624037d9142761c204 Mon Sep 17 00:00:00 2001 From: John Beisner Date: Mon, 16 Oct 2017 14:33:50 -0700 Subject: [PATCH] Enabling the publish of CLI NuPkg to the unified Transport feed. --- build/AzureInfo.props | 7 +++++ build/Microsoft.DotNet.Cli.tasks | 1 + build/Publish.targets | 4 ++- .../PublishNupkgToTransportFeed.targets | 27 +++++++++++++++++++ .../dotnet-cli-build/dotnet-cli-build.csproj | 1 + dir.props | 1 + 6 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 build/publish/PublishNupkgToTransportFeed.targets diff --git a/build/AzureInfo.props b/build/AzureInfo.props index 0e8cf5104..9f323b42b 100644 --- a/build/AzureInfo.props +++ b/build/AzureInfo.props @@ -8,7 +8,14 @@ dotnetcli https://$(ArtifactCloudDropAccountName).blob.core.windows.net/$(ArtifactContainerName) $(CHECKSUM_STORAGE_CONTAINER) + dotnet $(CHECKSUM_STORAGE_KEY) $(CHECKSUM_STORAGE_ACCOUNT) + dotnetclichecksums + $(TRANSPORTFEED_STORAGE_CONTAINER) + dotnet-core + $(TRANSPORTFEED_STORAGE_KEY) + $(TRANSPORTFEED_STORAGE_ACCOUNT) + dotnetfeed diff --git a/build/Microsoft.DotNet.Cli.tasks b/build/Microsoft.DotNet.Cli.tasks index 901a48f84..1c4bbac75 100644 --- a/build/Microsoft.DotNet.Cli.tasks +++ b/build/Microsoft.DotNet.Cli.tasks @@ -24,6 +24,7 @@ + diff --git a/build/Publish.targets b/build/Publish.targets index bc9a387b6..99e64e520 100644 --- a/build/Publish.targets +++ b/build/Publish.targets @@ -3,6 +3,7 @@ + @@ -24,6 +25,7 @@ GenerateChecksums; UploadArtifactsToAzure; UploadChecksumsToAzure; + PublishNupkgToTransportFeed; PublishDebFilesToDebianRepo; PublishCliVersionBadge" /> @@ -33,7 +35,7 @@ Condition=" '$(IslinuxPortable)' != 'true' "/> - diff --git a/build/publish/PublishNupkgToTransportFeed.targets b/build/publish/PublishNupkgToTransportFeed.targets new file mode 100644 index 000000000..a59c5e5a3 --- /dev/null +++ b/build/publish/PublishNupkgToTransportFeed.targets @@ -0,0 +1,27 @@ + + + + + + + + packages + + + + + + + + + + + + diff --git a/build_projects/dotnet-cli-build/dotnet-cli-build.csproj b/build_projects/dotnet-cli-build/dotnet-cli-build.csproj index 872cae995..89dc0f323 100644 --- a/build_projects/dotnet-cli-build/dotnet-cli-build.csproj +++ b/build_projects/dotnet-cli-build/dotnet-cli-build.csproj @@ -29,5 +29,6 @@ + diff --git a/dir.props b/dir.props index 756fccc32..7133cb74f 100644 --- a/dir.props +++ b/dir.props @@ -7,6 +7,7 @@ $(RepoRoot)/.nuget/packages $(RepoRoot)/build_projects/dotnet-cli-build/bin/dotnet-cli-build.dll + $(RepoRoot)/build_projects/dotnet-cli-build/bin/Microsoft.DotNet.Build.Tasks.Feed.dll true true