From f370f8f03e8e590343cd0f56d9f3b04e233001b2 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Wed, 3 Mar 2021 14:37:46 -0800 Subject: [PATCH] Update metadata and script to enable consuming .NET daily builds --- DotnetRuntimeMetadata.json | 6 +++--- tools/UpdateDotnetRuntime.ps1 | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DotnetRuntimeMetadata.json b/DotnetRuntimeMetadata.json index 418291f1a39..c1f96b55956 100644 --- a/DotnetRuntimeMetadata.json +++ b/DotnetRuntimeMetadata.json @@ -1,9 +1,9 @@ { "sdk": { - "channel": "release/6.0.1xx-preview1", - "packageVersionPattern": "6.0.0-preview.1", + "channel": "release/6.0.1xx-preview2", + "packageVersionPattern": "6.0.0-preview.2", "sdkImageVersion": "6.0.100", - "nextChannel": "net6/preview1" + "nextChannel": "6.0.1xx-preview2/daily" }, "internalfeed" : { "url": null diff --git a/tools/UpdateDotnetRuntime.ps1 b/tools/UpdateDotnetRuntime.ps1 index 4bc9472bd3c..508657354d3 100644 --- a/tools/UpdateDotnetRuntime.ps1 +++ b/tools/UpdateDotnetRuntime.ps1 @@ -169,7 +169,7 @@ function Get-DotnetUpdate { } try { - $latestSDKversion = [System.Management.Automation.SemanticVersion] (Invoke-RestMethod -Uri "http://aka.ms/dotnet/$nextChannel/Sdk/productVersion.txt" -ErrorAction Stop | ForEach-Object { $_.Trim() }) + $latestSDKversion = [System.Management.Automation.SemanticVersion] (Invoke-RestMethod -Uri "http://aka.ms/dotnet/$nextChannel/sdk-productVersion.txt" -ErrorAction Stop | ForEach-Object { $_.Trim() }) $currentVersion = [System.Management.Automation.SemanticVersion] (( Get-Content -Path "$PSScriptRoot/../global.json" -Raw | ConvertFrom-Json).sdk.version) if ($latestSDKversion -gt $currentVersion) {