Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 93f15e2

Browse files
authored
Revert "Disable publish to dotnet/versions in 3.1" (#28172)
* Revert "Disable publish to dotnet/versions in 3.1 (#28171)" This reverts commit 14ccaad. * Update finalize-publish.yml
1 parent 14ccaad commit 93f15e2

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

eng/finalize-publish.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,27 @@ jobs:
3838
artifactName: PackageArtifacts
3939
downloadPath: ${{ parameters.artifactsDir }}/nuget
4040

41-
- powershell: |
42-
$prefix = "refs/heads/"
43-
$branch = "$(Build.SourceBranch)"
44-
$branchName = $branch
45-
if ($branchName.StartsWith($prefix))
46-
{
47-
$branchName = $branchName.Substring($prefix.Length)
48-
}
49-
Write-Host "For Build.SourceBranch $branch, FullBranchName is $branchName"
50-
Write-Host "##vso[task.setvariable variable=FullBranchName;]$branchName"
51-
ls -R ${{ parameters.artifactsDir }}/nuget/*.nupkg
52-
$(Build.SourcesDirectory)/UpdatePublishedVersions.ps1 `
53-
-gitHubUser ${{ parameters.gitHubUser }} `
54-
-gitHubEmail ${{ parameters.gitHubEmail }} `
55-
-gitHubAuthToken ${{ parameters.gitHubAuthToken }} `
56-
-versionsRepoOwner ${{ parameters.versionsRepoOwner }} `
57-
-versionsRepo ${{ parameters.versionsRepo }} `
58-
-versionsRepoPath build-info/dotnet/coreclr/$branchName `
59-
-nupkgPath ${{ parameters.artifactsDir }}/nuget/*.nupkg
41+
#- powershell: |
42+
# $prefix = "refs/heads/"
43+
# $branch = "$(Build.SourceBranch)"
44+
# $branchName = $branch
45+
# if ($branchName.StartsWith($prefix))
46+
# {
47+
# $branchName = $branchName.Substring($prefix.Length)
48+
# }
49+
# Write-Host "For Build.SourceBranch $branch, FullBranchName is $branchName"
50+
# Write-Host "##vso[task.setvariable variable=FullBranchName;]$branchName"
51+
# ls -R ${{ parameters.artifactsDir }}/nuget/*.nupkg
52+
# $(Build.SourcesDirectory)/UpdatePublishedVersions.ps1 `
53+
# -gitHubUser ${{ parameters.gitHubUser }} `
54+
# -gitHubEmail ${{ parameters.gitHubEmail }} `
55+
# -gitHubAuthToken ${{ parameters.gitHubAuthToken }} `
56+
# -versionsRepoOwner ${{ parameters.versionsRepoOwner }} `
57+
# -versionsRepo ${{ parameters.versionsRepo }} `
58+
# -versionsRepoPath build-info/dotnet/coreclr/$branchName `
59+
# -nupkgPath ${{ parameters.artifactsDir }}/nuget/*.nupkg
6060

61-
displayName: Run UpdatePublishedVersions.ps1
61+
# displayName: Run UpdatePublishedVersions.ps1
6262

6363
- task: CopyFiles@2
6464
displayName: Copy Files to $(Build.StagingDirectory)\BuildLogs

eng/pipelines/internal.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,20 @@ stages:
5050
# product build job), and publishes them to the build assets
5151
# registry. Its dependencies should be updated to include all of the
5252
# official builds if we add more platform/arch combinations.
53-
# - template: /eng/finalize-publish.yml
54-
# parameters:
55-
# dependsOn:
56-
# - build_Linux_arm_release
57-
# - build_Linux_arm64_release
58-
# - build_Linux_musl_x64_release
59-
# - build_Linux_musl_arm64_release
60-
# - build_Linux_rhel6_x64_release
61-
# - build_Linux_x64_release
62-
# - build_OSX_x64_release
63-
# - build_Windows_NT_x64_release
64-
# - build_Windows_NT_x86_release
65-
# - build_Windows_NT_arm_release
66-
# - build_Windows_NT_arm64_release
53+
- template: /eng/finalize-publish.yml
54+
parameters:
55+
dependsOn:
56+
- build_Linux_arm_release
57+
- build_Linux_arm64_release
58+
- build_Linux_musl_x64_release
59+
- build_Linux_musl_arm64_release
60+
- build_Linux_rhel6_x64_release
61+
- build_Linux_x64_release
62+
- build_OSX_x64_release
63+
- build_Windows_NT_x64_release
64+
- build_Windows_NT_x86_release
65+
- build_Windows_NT_arm_release
66+
- build_Windows_NT_arm64_release
6767

6868
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
6969
- template: /eng/common/templates/post-build/post-build.yml

0 commit comments

Comments
 (0)