File tree Expand file tree Collapse file tree 5 files changed +21
-10
lines changed 
core-templates/post-build Expand file tree Collapse file tree 5 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 194194    </Dependency >
195195  </ProductDependencies >
196196  <ToolsetDependencies >
197-     <Dependency  Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 9.0.0-beta.25271.1 " 
197+     <Dependency  Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 9.0.0-beta.25302.2 " 
198198      <Uri >https://github.com/dotnet/arcade</Uri >
199-       <Sha >086a1771875b63404b4a710d27250fe384dc2810 </Sha >
199+       <Sha >0d52a8b262d35fa2fde84e398cb2e791b8454bd2 </Sha >
200200    </Dependency >
201-     <Dependency  Name =" Microsoft.DotNet.Helix.Sdk" Version =" 9.0.0-beta.25271.1 " 
201+     <Dependency  Name =" Microsoft.DotNet.Helix.Sdk" Version =" 9.0.0-beta.25302.2 " 
202202      <Uri >https://github.com/dotnet/arcade</Uri >
203-       <Sha >086a1771875b63404b4a710d27250fe384dc2810 </Sha >
203+       <Sha >0d52a8b262d35fa2fde84e398cb2e791b8454bd2 </Sha >
204204    </Dependency >
205-     <Dependency  Name =" Microsoft.DotNet.Build.Tasks.Templating" Version =" 9.0.0-beta.25271.1 " 
205+     <Dependency  Name =" Microsoft.DotNet.Build.Tasks.Templating" Version =" 9.0.0-beta.25302.2 " 
206206      <Uri >https://github.com/dotnet/arcade</Uri >
207-       <Sha >086a1771875b63404b4a710d27250fe384dc2810 </Sha >
207+       <Sha >0d52a8b262d35fa2fde84e398cb2e791b8454bd2 </Sha >
208208    </Dependency >
209209  </ToolsetDependencies >
210210</Dependencies >
Original file line number Diff line number Diff line change 8484    <!--  Dependencies from https://github.com/dotnet/efcore --> 
8585    <MicrosoftEntityFrameworkCoreSqliteVersion >9.0.5</MicrosoftEntityFrameworkCoreSqliteVersion >
8686    <!--  Dependencies from https://github.com/dotnet/arcade --> 
87-     <MicrosoftDotNetBuildTasksTemplatingVersion >9.0.0-beta.25271.1 </MicrosoftDotNetBuildTasksTemplatingVersion >
87+     <MicrosoftDotNetBuildTasksTemplatingVersion >9.0.0-beta.25302.2 </MicrosoftDotNetBuildTasksTemplatingVersion >
8888  </PropertyGroup >
8989  <PropertyGroup  Label =" No longer automated Maestro dependency updates" 
9090    <!--  Packages from dotnet/runtime --> 
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 1818  "msbuild-sdks" : {
1919    "Microsoft.Build.NoTargets" : " 3.7.0" 
2020    "Microsoft.Build.Traversal" : " 3.2.0" 
21-     "Microsoft.DotNet.Arcade.Sdk" : " 9.0.0-beta.25271.1 " 
22-     "Microsoft.DotNet.Helix.Sdk" : " 9.0.0-beta.25271.1 " 
21+     "Microsoft.DotNet.Arcade.Sdk" : " 9.0.0-beta.25302.2 " 
22+     "Microsoft.DotNet.Helix.Sdk" : " 9.0.0-beta.25302.2 " 
2323  }
2424}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments