File tree Expand file tree Collapse file tree 4 files changed +19
-8
lines changed
core-templates/post-build Expand file tree Collapse file tree 4 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 1313 <Sha >02fe27cd6a9b001c8feb7938e6ef4b3799745759</Sha >
1414 <SourceBuild RepoName =" command-line-api" ManagedOnly =" true" />
1515 </Dependency >
16- <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 9.0.0-beta.25266 .2" >
16+ <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 9.0.0-beta.25302 .2" >
1717 <Uri >https://github.com/dotnet/arcade</Uri >
18- <Sha >c62eeb5b5432f9eaa034fbd641ccd9fd0d928fb3 </Sha >
18+ <Sha >0d52a8b262d35fa2fde84e398cb2e791b8454bd2 </Sha >
1919 </Dependency >
20- <Dependency Name =" Microsoft.DotNet.XliffTasks" Version =" 9.0.0-beta.25266 .2" >
20+ <Dependency Name =" Microsoft.DotNet.XliffTasks" Version =" 9.0.0-beta.25302 .2" >
2121 <Uri >https://github.com/dotnet/arcade</Uri >
22- <Sha >c62eeb5b5432f9eaa034fbd641ccd9fd0d928fb3 </Sha >
22+ <Sha >0d52a8b262d35fa2fde84e398cb2e791b8454bd2 </Sha >
2323 </Dependency >
2424 <!-- Intermediate is necessary for source build. -->
25- <Dependency Name =" Microsoft.SourceBuild.Intermediate.arcade" Version =" 9.0.0-beta.25266 .2" >
25+ <Dependency Name =" Microsoft.SourceBuild.Intermediate.arcade" Version =" 9.0.0-beta.25302 .2" >
2626 <Uri >https://github.com/dotnet/arcade</Uri >
27- <Sha >c62eeb5b5432f9eaa034fbd641ccd9fd0d928fb3 </Sha >
27+ <Sha >0d52a8b262d35fa2fde84e398cb2e791b8454bd2 </Sha >
2828 <SourceBuild RepoName =" arcade" ManagedOnly =" true" />
2929 </Dependency >
3030 <!-- Intermediate is necessary for source build. -->
Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ parameters:
4444 displayName : Publish installers and checksums
4545 type : boolean
4646 default : true
47+
48+ - name : requireDefaultChannels
49+ displayName : Fail the build if there are no default channel(s) registrations for the current build
50+ type : boolean
51+ default : false
4752
4853 - name : SDLValidationParameters
4954 type : object
@@ -312,5 +317,6 @@ stages:
312317 -PublishingInfraVersion ${{ parameters.publishingInfraVersion }}
313318 -AzdoToken '$(System.AccessToken)'
314319 -WaitPublishingFinish true
320+ -RequireDefaultChannels ${{ parameters.requireDefaultChannels }}
315321 -ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'
316322 -SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'
Original file line number Diff line number Diff line change 55 [Parameter (Mandatory = $false )][string ] $MaestroApiEndPoint = ' https://maestro.dot.net' ,
66 [Parameter (Mandatory = $true )][string ] $WaitPublishingFinish ,
77 [Parameter (Mandatory = $false )][string ] $ArtifactsPublishingAdditionalParameters ,
8- [Parameter (Mandatory = $false )][string ] $SymbolPublishingAdditionalParameters
8+ [Parameter (Mandatory = $false )][string ] $SymbolPublishingAdditionalParameters ,
9+ [Parameter (Mandatory = $false )][string ] $RequireDefaultChannels
910)
1011
1112try {
3334 if (" false" -eq $WaitPublishingFinish ) {
3435 $optionalParams.Add (" --no-wait" ) | Out-Null
3536 }
37+
38+ if (" true" -eq $RequireDefaultChannels ) {
39+ $optionalParams.Add (" --default-channels-required" ) | Out-Null
40+ }
3641
3742 & $darc add-build - to- channel `
3843 -- id $buildId `
Original file line number Diff line number Diff line change 1010 }
1111 },
1212 "msbuild-sdks" : {
13- "Microsoft.DotNet.Arcade.Sdk" : " 9.0.0-beta.25266 .2"
13+ "Microsoft.DotNet.Arcade.Sdk" : " 9.0.0-beta.25302 .2"
1414 }
1515}
You can’t perform that action at this time.
0 commit comments