From 8ad116f0232958d8065897c0b92dd66b9e6e4b06 Mon Sep 17 00:00:00 2001 From: chcosta Date: Fri, 4 Aug 2017 14:58:30 -0700 Subject: [PATCH] Enable retries for the nuget push command used during publishing (dotnet/core-setup#2980) * Enable retries for the nuget push command used during publishing * Alphabetize usingtask list in publish.proj Commit migrated from https://github.com/dotnet/core-setup/commit/14627e34be86271759ffdd5ea8692a51e2b7f4fe --- src/installer/BuildToolsVersion.txt | 2 +- src/installer/publish/dir.props | 12 ++++++++++++ src/installer/publish/publish.proj | 12 ++++++++---- 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/installer/BuildToolsVersion.txt b/src/installer/BuildToolsVersion.txt index 6314566..1f8c009 100644 --- a/src/installer/BuildToolsVersion.txt +++ b/src/installer/BuildToolsVersion.txt @@ -1 +1 @@ -2.0.0-prerelease-01805-01 +2.0.0-prerelease-01903-01 diff --git a/src/installer/publish/dir.props b/src/installer/publish/dir.props index 0c2b287..0b3bddf 100644 --- a/src/installer/publish/dir.props +++ b/src/installer/publish/dir.props @@ -14,6 +14,18 @@ $(DistroRid).$(SharedFrameworkNugetVersion) $(DistroRid).$(HostResolverVersion) + + + + + Pushing took too long + + diff --git a/src/installer/publish/publish.proj b/src/installer/publish/publish.proj index f0b7889..24de5dc 100644 --- a/src/installer/publish/publish.proj +++ b/src/installer/publish/publish.proj @@ -2,6 +2,7 @@ + @@ -216,11 +217,13 @@ $(DotnetToolCommand) nuget push --source $(NuGetSymbolsFeedUrl) --api-key $(NuGetApiKey) --timeout $(NuGetPushTimeoutSeconds) - - + - + $(DotnetToolCommand) nuget push --source $(CliNuGetFeedUrl) --api-key $(CliNuGetApiKey) --timeout $(NuGetPushTimeoutSeconds) - + -- 2.7.4