Skip to content
Open
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
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
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not really certain if this should be pulling the scripts from github or the 'distribution' urls such as https://dot.net/v1/dotnet-install.sh - but thats a bigger change which would mean dropping the configurable branch, so I just tried to keep it minimal for now

Copy link
Contributor

Choose a reason for hiding this comment

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

We will be sharing guidance shortly.

This issue should provide some insight: dotnet/install-scripts#558 (comment)


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
Loading