Skip to content

Commit 8cc19fa

Browse files
Update metadata and script to enable consuming .NET daily builds (#14940)
1 parent 631e96a commit 8cc19fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

DotnetRuntimeMetadata.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"sdk": {
3-
"channel": "release/6.0.1xx-preview1",
4-
"packageVersionPattern": "6.0.0-preview.1",
3+
"channel": "release/6.0.1xx-preview2",
4+
"packageVersionPattern": "6.0.0-preview.2",
55
"sdkImageVersion": "6.0.100",
6-
"nextChannel": "net6/preview1"
6+
"nextChannel": "6.0.1xx-preview2/daily"
77
},
88
"internalfeed" : {
99
"url": null

tools/UpdateDotnetRuntime.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function Get-DotnetUpdate {
169169
}
170170

171171
try {
172-
$latestSDKversion = [System.Management.Automation.SemanticVersion] (Invoke-RestMethod -Uri "http://aka.ms/dotnet/$nextChannel/Sdk/productVersion.txt" -ErrorAction Stop | ForEach-Object { $_.Trim() })
172+
$latestSDKversion = [System.Management.Automation.SemanticVersion] (Invoke-RestMethod -Uri "http://aka.ms/dotnet/$nextChannel/sdk-productVersion.txt" -ErrorAction Stop | ForEach-Object { $_.Trim() })
173173
$currentVersion = [System.Management.Automation.SemanticVersion] (( Get-Content -Path "$PSScriptRoot/../global.json" -Raw | ConvertFrom-Json).sdk.version)
174174

175175
if ($latestSDKversion -gt $currentVersion) {

0 commit comments

Comments
 (0)