Skip to content

Commit 16a7d93

Browse files
authored
Update channel map for net7.0 and servicing runtime branches (#2012)
1 parent a36bec8 commit 16a7d93

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

scripts/channel_map.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22

33
class ChannelMap():
44
channel_map = {
5+
'release/6.0': {
6+
'tfm': 'net6.0',
7+
'branch': '6.0.1xx',
8+
'quality': 'daily'
9+
},
510
'6.0': {
611
'tfm': 'net6.0',
7-
'branch': 'main',
12+
'branch': '6.0.1xx',
813
'quality': 'daily'
914
},
1015
'main': {
11-
'tfm': 'net6.0',
12-
'branch': 'main',
16+
'tfm': 'net7.0',
17+
'branch': '7.0.1xx',
1318
'quality': 'daily'
1419
},
1520
'master': {

scripts/dotnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def install(
770770
# run, we will be testing the "wrong" version, ie, not the version we specified.
771771
if (not versions) and channels:
772772
for channel in channels:
773-
cmdline_args = common_cmdline_args + ['-Channel', channel if channel != "main" else "6.0.1xx"]
773+
cmdline_args = common_cmdline_args + ['-Channel', ChannelMap.get_branch(channel)]
774774
if ChannelMap.get_quality_from_channel(channel) is not None:
775775
cmdline_args += ['-Quality', ChannelMap.get_quality_from_channel(channel)]
776776
RunCommand(cmdline_args, verbose=verbose, retry=1).run(

0 commit comments

Comments
 (0)