Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion DotnetRuntimeMetadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adityapatwardhan, your last commit had 1 failures in PowerShell-CI-windows
Enter-PSHostProcess tests.By Process Id.Can enter using NamedPipeConnectionInfo

Expected $true, but got $false.
at <ScriptBlock>, D:\a\1\s\test\powershell\Modules\Microsoft.PowerShell.Core\Enter-PSHostProcess.Tests.ps1: line 148
148:                     Should -BeTrue -Because (get-content $splat.FilePath -Raw)

"sdk": {
"channel": "release/5.0.1xx-preview4",
"packageVersionPattern": "5.0.0-preview.4"
"packageVersionPattern": "5.0.0-preview.4",
"nextChannel": "net5/preview4"
}
}
6 changes: 5 additions & 1 deletion tools/UpdateDotnetRuntime.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

[CmdletBinding()]
param (
[Parameter()]
[string]$SDKVersionOverride
)

<#
Expand Down Expand Up @@ -139,7 +141,9 @@ if(-not (Get-PackageSource -Name 'dotnet5' -ErrorAction SilentlyContinue))

## Install latest version from the channel

Install-Dotnet -Channel "$Channel" -Version 'latest'
$sdkVersion = if ($SDKVersionOverride) { $SDKVersionOverride } else { "latest" }

Install-Dotnet -Channel "$Channel" -Version $sdkVersion

Write-Verbose -Message "Installing .NET SDK completed." -Verbose

Expand Down