Skip to content

Commit

Permalink
Update the dotnet-install script URL in Fake.DotNet.getGenericDotNetC…
Browse files Browse the repository at this point in the history
…liInstallerUrl

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
  • Loading branch information
Numpsy committed Jan 12, 2025
1 parent 78a2562 commit 6490f68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/Fake.DotNet.Cli/DotNet.fs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ module DotNet =
/// Get .NET Core SDK download uri
/// </summary>
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"
Expand Down Expand Up @@ -188,7 +188,7 @@ module DotNet =
/// Parameter default values.
static member Default =
{ AlwaysDownload = false
Branch = "master"
Branch = "main"
CustomDownloadDir = None }

/// <summary>
Expand Down

0 comments on commit 6490f68

Please sign in to comment.