Skip to content

Commit 94cd1aa

Browse files
Numpsyxperiandri
authored andcommitted
Update the dotnet-install script URL in Fake.DotNet.getGenericDotNetCliInstallerUrl
The scripts have been updated due to dotnet/core#9671, but according to https://github.com/dotnet/sdk/blob/main/scripts/obtain/dotnet-install-readme the source for the scripts was changed from https://github.com/dotnet/sdk to https://github.com/dotnet/install-scripts some years ago
1 parent 3b37cf9 commit 94cd1aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/Fake.DotNet.Cli/DotNet.fs

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ module DotNet =
136136
/// Get .NET Core SDK download uri
137137
/// </summary>
138138
let private getGenericDotNetCliInstallerUrl branch installerName =
139-
sprintf "https://raw.githubusercontent.com/dotnet/cli/%s/scripts/obtain/%s" branch installerName
139+
sprintf "https://raw.githubusercontent.com/dotnet/install-scripts/%s/src/%s" branch installerName
140140

141141
let private getPowershellDotNetCliInstallerUrl branch =
142142
getGenericDotNetCliInstallerUrl branch "dotnet-install.ps1"
@@ -188,7 +188,7 @@ module DotNet =
188188
/// Parameter default values.
189189
static member Default =
190190
{ AlwaysDownload = false
191-
Branch = "master"
191+
Branch = "main"
192192
CustomDownloadDir = None }
193193

194194
/// <summary>

0 commit comments

Comments
 (0)