From 5bdcd4b15d203109d341a6c42bfdf7c730633bdb Mon Sep 17 00:00:00 2001 From: Davis Goodin Date: Sat, 19 Jan 2019 00:09:49 -0600 Subject: [PATCH] Revert "Publish to dotnet/versions during official builds (#5003)" (#5004) This reverts commit 7da36bad456f51326ae77f887da7566925556a95. --- azure-pipelines.yml | 9 --------- eng/jobs/finalize-publish.yml | 13 ------------- publish/publish.proj | 2 +- 3 files changed, 1 insertion(+), 23 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2f3069b691..7642d626eb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -39,15 +39,6 @@ variables: /p:SymbolPackagesUrl=$(_PublishBlobFeedUrl) /p:TransportFeedAccessToken=$(dotnetfeed-storage-access-key-1) - - name: _DotNetVersionsArgs - value: >- - /p:GitHubUser=dotnet-build-bot - /p:GitHubEmail=dotnet-build-bot@microsoft.com - /p:GitHubAuthToken=$(AccessToken-dotnet-build-bot-public-repo) - /p:VersionsRepoOwner=dotnet - /p:VersionsRepo=versions - /p:VersionsRepoPath=build-info/dotnet/core-setup/$(FullBranchName) - # Symbol Server update - name: _SymbolServerPath value: https://microsoftpublicsymbols.artifacts.visualstudio.com/DefaultCollection diff --git a/eng/jobs/finalize-publish.yml b/eng/jobs/finalize-publish.yml index 4fb6872ff5..4683da071c 100644 --- a/eng/jobs/finalize-publish.yml +++ b/eng/jobs/finalize-publish.yml @@ -58,18 +58,6 @@ jobs: continueOnError: false condition: and(succeeded(), in(variables['SignType'], 'real', 'test')) - - powershell: | - $prefix = "refs/heads/" - $branch = "$(Build.SourceBranch)" - $branchName = $branch - if ($branchName.StartsWith($prefix)) - { - $branchName = $branchName.Substring($prefix.Length) - } - Write-Host "For Build.SourceBranch $branch, FullBranchName is $branchName" - Write-Host "##vso[task.setvariable variable=FullBranchName;]$branchName" - displayName: Find true SourceBranchName - - task: MSBuild@1 displayName: Publish (no PublishType) inputs: @@ -85,7 +73,6 @@ jobs: /p:StabilizePackageVersion=$(IsStable) /p:TargetArchitecture=x64 $(_BlobFeedArgs) - $(_DotNetVersionsArgs) $(_CommonPublishArgs) $(_NugetFeedArgs) $(_SymbolServerArgs) diff --git a/publish/publish.proj b/publish/publish.proj index 5d08a6a4fc..c20635d8b9 100644 --- a/publish/publish.proj +++ b/publish/publish.proj @@ -32,7 +32,7 @@ + DependsOnTargets="PublishCoreHostPackages;SetupPublishSymbols;PublishSymbols;FinalizeBuildInAzure" />