File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <clear />
55 <!-- Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
66 <!-- Begin: Package sources from dotnet-dotnet -->
7- <add key =" darc-pub-dotnet-dotnet-ba86126 " value =" https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-dotnet-ba861262 /nuget/v3/index.json" />
7+ <add key =" darc-pub-dotnet-dotnet-f4701e0 " value =" https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-dotnet-dotnet-f4701e04 /nuget/v3/index.json" />
88 <!-- End: Package sources from dotnet-dotnet -->
99 <!-- End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
1010 <add key =" dotnet-eng" value =" https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ This file should be imported by eng/Versions.props
66<Project >
77 <PropertyGroup >
88 <!-- dotnet/dotnet dependencies -->
9- <MicrosoftDotNetArcadeSdkPackageVersion >10.0.0-beta.25531.102 </MicrosoftDotNetArcadeSdkPackageVersion >
10- <SystemCommandLinePackageVersion >2.0.0 </SystemCommandLinePackageVersion >
9+ <MicrosoftDotNetArcadeSdkPackageVersion >10.0.0-beta.25562.108 </MicrosoftDotNetArcadeSdkPackageVersion >
10+ <SystemCommandLinePackageVersion >2.0.1 </SystemCommandLinePackageVersion >
1111 </PropertyGroup >
1212 <!-- Property group for alternate package version names-->
1313 <PropertyGroup >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Dependencies >
3- <Source Mapping =" scenario-tests" Uri =" https://github.com/dotnet/dotnet" Sha =" ba86126261026d26f7c30cd3434680d3965a88cf " BarId =" 289152 " />
3+ <Source Mapping =" scenario-tests" Uri =" https://github.com/dotnet/dotnet" Sha =" f4701e048e6a684237a4b52b745e21b1d857278d " BarId =" 290631 " />
44 <ProductDependencies >
55 </ProductDependencies >
66 <ToolsetDependencies >
7- <Dependency Name =" System.CommandLine" Version =" 2.0.0 " >
7+ <Dependency Name =" System.CommandLine" Version =" 2.0.1 " >
88 <Uri >https://github.com/dotnet/dotnet</Uri >
9- <Sha >ba86126261026d26f7c30cd3434680d3965a88cf </Sha >
9+ <Sha >f4701e048e6a684237a4b52b745e21b1d857278d </Sha >
1010 </Dependency >
11- <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 10.0.0-beta.25531.102 " >
11+ <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 10.0.0-beta.25562.108 " >
1212 <Uri >https://github.com/dotnet/dotnet</Uri >
13- <Sha >ba86126261026d26f7c30cd3434680d3965a88cf </Sha >
13+ <Sha >f4701e048e6a684237a4b52b745e21b1d857278d </Sha >
1414 </Dependency >
1515 </ToolsetDependencies >
1616</Dependencies >
Original file line number Diff line number Diff line change 11# This script adds internal feeds required to build commits that depend on internal package sources. For instance,
2- # dotnet6-internal would be added automatically if dotnet6 was found in the nuget.config file. In addition also enables
3- # disabled internal Maestro (darc-int*) feeds.
2+ # dotnet6-internal would be added automatically if dotnet6 was found in the nuget.config file. Similarly,
3+ # dotnet-eng-internal and dotnet-tools-internal are added if dotnet-eng and dotnet-tools are present.
4+ # In addition, this script also enables disabled internal Maestro (darc-int*) feeds.
45#
56# Optionally, this script also adds a credential entry for each of the internal feeds if supplied.
67#
@@ -173,4 +174,16 @@ foreach ($dotnetVersion in $dotnetVersions) {
173174 }
174175}
175176
177+ # Check for dotnet-eng and add dotnet-eng-internal if present
178+ $dotnetEngSource = $sources.SelectSingleNode (" add[@key='dotnet-eng']" )
179+ if ($dotnetEngSource -ne $null ) {
180+ AddOrEnablePackageSource - Sources $sources - DisabledPackageSources $disabledSources - SourceName " dotnet-eng-internal" - SourceEndPoint " https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet-eng-internal/nuget/$feedSuffix " - Creds $creds - Username $userName - pwd $Password
181+ }
182+
183+ # Check for dotnet-tools and add dotnet-tools-internal if present
184+ $dotnetToolsSource = $sources.SelectSingleNode (" add[@key='dotnet-tools']" )
185+ if ($dotnetToolsSource -ne $null ) {
186+ AddOrEnablePackageSource - Sources $sources - DisabledPackageSources $disabledSources - SourceName " dotnet-tools-internal" - SourceEndPoint " https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet-tools-internal/nuget/$feedSuffix " - Creds $creds - Username $userName - pwd $Password
187+ }
188+
176189$doc.Save ($filename )
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33# This script adds internal feeds required to build commits that depend on internal package sources. For instance,
4- # dotnet6-internal would be added automatically if dotnet6 was found in the nuget.config file. In addition also enables
5- # disabled internal Maestro (darc-int*) feeds.
4+ # dotnet6-internal would be added automatically if dotnet6 was found in the nuget.config file. Similarly,
5+ # dotnet-eng-internal and dotnet-tools-internal are added if dotnet-eng and dotnet-tools are present.
6+ # In addition, this script also enables disabled internal Maestro (darc-int*) feeds.
67#
78# Optionally, this script also adds a credential entry for each of the internal feeds if supplied.
89#
@@ -173,6 +174,18 @@ for DotNetVersion in ${DotNetVersions[@]} ; do
173174 fi
174175done
175176
177+ # Check for dotnet-eng and add dotnet-eng-internal if present
178+ grep -i " <add key=\" dotnet-eng\" " $ConfigFile > /dev/null
179+ if [ " $? " == " 0" ]; then
180+ AddOrEnablePackageSource " dotnet-eng-internal" " https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet-eng-internal/nuget/$FeedSuffix "
181+ fi
182+
183+ # Check for dotnet-tools and add dotnet-tools-internal if present
184+ grep -i " <add key=\" dotnet-tools\" " $ConfigFile > /dev/null
185+ if [ " $? " == " 0" ]; then
186+ AddOrEnablePackageSource " dotnet-tools-internal" " https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet-tools-internal/nuget/$FeedSuffix "
187+ fi
188+
176189# I want things split line by line
177190PrevIFS=$IFS
178191IFS=$' \n '
Original file line number Diff line number Diff line change @@ -180,6 +180,11 @@ jobs:
180180 PromoteToChannelIds : ${{ parameters.PromoteToChannelIds }}
181181 is1ESPipeline : ${{ parameters.is1ESPipeline }}
182182
183+ # Darc is targeting 8.0, so make sure it's installed
184+ - task : UseDotNet@2
185+ inputs :
186+ version : 8.0.x
187+
183188 - task : AzureCLI@2
184189 displayName : Publish Using Darc
185190 inputs :
Original file line number Diff line number Diff line change @@ -307,6 +307,11 @@ stages:
307307
308308 - task : NuGetAuthenticate@1
309309
310+ # Darc is targeting 8.0, so make sure it's installed
311+ - task : UseDotNet@2
312+ inputs :
313+ version : 8.0.x
314+
310315 - task : AzureCLI@2
311316 displayName : Publish Using Darc
312317 inputs :
Original file line number Diff line number Diff line change 1010 }
1111 },
1212 "msbuild-sdks" : {
13- "Microsoft.DotNet.Arcade.Sdk" : " 10.0.0-beta.25531.102 "
13+ "Microsoft.DotNet.Arcade.Sdk" : " 10.0.0-beta.25562.108 "
1414 }
1515}
You can’t perform that action at this time.
0 commit comments