File tree Expand file tree Collapse file tree 4 files changed +18
-7
lines changed
core-templates/post-build Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 3
3
<ProductDependencies >
4
4
</ProductDependencies >
5
5
<ToolsetDependencies >
6
- <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 9.0.0-beta.25266 .2" >
6
+ <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 9.0.0-beta.25302 .2" >
7
7
<Uri >https://github.com/dotnet/arcade</Uri >
8
- <Sha >c62eeb5b5432f9eaa034fbd641ccd9fd0d928fb3 </Sha >
8
+ <Sha >0d52a8b262d35fa2fde84e398cb2e791b8454bd2 </Sha >
9
9
</Dependency >
10
- <Dependency Name =" Microsoft.DotNet.Helix.Sdk" Version =" 9.0.0-beta.25266 .2" >
10
+ <Dependency Name =" Microsoft.DotNet.Helix.Sdk" Version =" 9.0.0-beta.25302 .2" >
11
11
<Uri >https://github.com/dotnet/arcade</Uri >
12
- <Sha >c62eeb5b5432f9eaa034fbd641ccd9fd0d928fb3 </Sha >
12
+ <Sha >0d52a8b262d35fa2fde84e398cb2e791b8454bd2 </Sha >
13
13
</Dependency >
14
14
</ToolsetDependencies >
15
15
</Dependencies >
Original file line number Diff line number Diff line change @@ -44,6 +44,11 @@ parameters:
44
44
displayName : Publish installers and checksums
45
45
type : boolean
46
46
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
47
52
48
53
- name : SDLValidationParameters
49
54
type : object
@@ -312,5 +317,6 @@ stages:
312
317
-PublishingInfraVersion ${{ parameters.publishingInfraVersion }}
313
318
-AzdoToken '$(System.AccessToken)'
314
319
-WaitPublishingFinish true
320
+ -RequireDefaultChannels ${{ parameters.requireDefaultChannels }}
315
321
-ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'
316
322
-SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'
Original file line number Diff line number Diff line change 5
5
[Parameter (Mandatory = $false )][string ] $MaestroApiEndPoint = ' https://maestro.dot.net' ,
6
6
[Parameter (Mandatory = $true )][string ] $WaitPublishingFinish ,
7
7
[Parameter (Mandatory = $false )][string ] $ArtifactsPublishingAdditionalParameters ,
8
- [Parameter (Mandatory = $false )][string ] $SymbolPublishingAdditionalParameters
8
+ [Parameter (Mandatory = $false )][string ] $SymbolPublishingAdditionalParameters ,
9
+ [Parameter (Mandatory = $false )][string ] $RequireDefaultChannels
9
10
)
10
11
11
12
try {
33
34
if (" false" -eq $WaitPublishingFinish ) {
34
35
$optionalParams.Add (" --no-wait" ) | Out-Null
35
36
}
37
+
38
+ if (" true" -eq $RequireDefaultChannels ) {
39
+ $optionalParams.Add (" --default-channels-required" ) | Out-Null
40
+ }
36
41
37
42
& $darc add-build - to- channel `
38
43
-- id $buildId `
Original file line number Diff line number Diff line change 3
3
"dotnet" : " 9.0.106"
4
4
},
5
5
"msbuild-sdks" : {
6
- "Microsoft.DotNet.Arcade.Sdk" : " 9.0.0-beta.25266 .2" ,
7
- "Microsoft.DotNet.Helix.Sdk" : " 9.0.0-beta.25266 .2"
6
+ "Microsoft.DotNet.Arcade.Sdk" : " 9.0.0-beta.25302 .2" ,
7
+ "Microsoft.DotNet.Helix.Sdk" : " 9.0.0-beta.25302 .2"
8
8
}
9
9
}
You can’t perform that action at this time.
0 commit comments