@@ -38,27 +38,27 @@ jobs:
38
38
artifactName : PackageArtifacts
39
39
downloadPath : ${{ parameters.artifactsDir }}/nuget
40
40
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
60
60
61
- displayName: Run UpdatePublishedVersions.ps1
61
+ # displayName: Run UpdatePublishedVersions.ps1
62
62
63
63
- task : CopyFiles@2
64
64
displayName : Copy Files to $(Build.StagingDirectory)\BuildLogs
0 commit comments