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 } ///