From f7d11c156f69c2764fd8a4b7aa324b53d198421a Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Sun, 12 Jan 2025 14:38:42 +0000 Subject: [PATCH] Update the dotnet-install script URL in Fake.DotNet.getGenericDotNetCliInstallerUrl The scripts have been updated due to https://github.com/dotnet/core/issues/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 --- src/app/Fake.DotNet.Cli/DotNet.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/Fake.DotNet.Cli/DotNet.fs b/src/app/Fake.DotNet.Cli/DotNet.fs index 98f0ab4e668..a320d8a9233 100644 --- a/src/app/Fake.DotNet.Cli/DotNet.fs +++ b/src/app/Fake.DotNet.Cli/DotNet.fs @@ -136,7 +136,7 @@ module DotNet = /// Get .NET Core SDK download uri /// let private getGenericDotNetCliInstallerUrl branch installerName = - sprintf "https://raw.githubusercontent.com/dotnet/cli/%s/scripts/obtain/%s" branch installerName + sprintf "https://raw.githubusercontent.com/dotnet/install-scripts/%s/src/%s" branch installerName let private getPowershellDotNetCliInstallerUrl branch = getGenericDotNetCliInstallerUrl branch "dotnet-install.ps1" @@ -188,7 +188,7 @@ module DotNet = /// Parameter default values. static member Default = { AlwaysDownload = false - Branch = "master" + Branch = "main" CustomDownloadDir = None } ///