WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit c1d7935

Browse files
authored
Merge pull request #2995 from hoyosjs/juhoyosa/fix-release-vars
Set the build ID using arcade's scripts instead of retrieving it from another job (#2993)
2 parents 8229e4b + a718906 commit c1d7935

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

eng/prepare-release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ stages:
1919
- group: DotNet-Diagnostics-Storage
2020
- group: DotNet-DotNetStage-Storage
2121
- group: Release-Pipeline
22-
- name: BARBuildId
23-
value: $[ stageDependencies.publish_using_darc.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]
2422
steps:
2523
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
2624
- script: '$(Build.Repository.LocalPath)\dotnet.cmd build $(Build.Repository.LocalPath)\eng\release\DiagnosticsReleaseTool\DiagnosticsReleaseTool.csproj -c Release /bl'
@@ -33,11 +31,12 @@ stages:
3331
artifact: 'DiagnosticsReleaseToolBin'
3432
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) }}:
3533
- task: UseDotNet@2
36-
displayName: 'Use .NET Core runtime 3.1.x'
34+
displayName: 'Use .NET Core runtime 6.x'
3735
inputs:
3836
packageType: runtime
39-
version: 3.1.x
37+
version: 6.x
4038
installationPath: '$(Build.Repository.LocalPath)\.dotnet'
39+
- template: /eng/common/templates/post-build/setup-maestro-vars.yml
4140
- task: PowerShell@2
4241
displayName: 'DARC Gather build'
4342
inputs:

0 commit comments

Comments
 (0)