Skip to content

Switch to new long-term install-script paths#15408

Merged
richlander merged 2 commits intomainfrom
install-script-location
Jan 15, 2025
Merged

Switch to new long-term install-script paths#15408
richlander merged 2 commits intomainfrom
install-script-location

Conversation

@richlander
Copy link
Copy Markdown
Member

@richlander richlander commented Jan 14, 2025

@richlander richlander enabled auto-merge January 15, 2025 01:43
@richlander richlander merged commit 03c4e72 into main Jan 15, 2025
@richlander richlander deleted the install-script-location branch January 15, 2025 01:47
local root=$1
local install_script="$root/dotnet-install.sh"
local install_script_url="https://raw.githubusercontent.com/dotnet/install-scripts/4b17227b30fbbad567d4d4fba17c59da51bc817b/src/dotnet-install.sh"
local install_script_url="https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Shouldn't this URL use dotnetInstallScriptVersion?

Suggested change
local install_script_url="https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh"
local install_script_url="https://builds.dotnet.microsoft.com/dotnet/scripts/$dotnetInstallScriptVersion/dotnet-install.sh"

This is how it looked like before switching to the GH raw URL:

local install_script_url="https://dotnet.microsoft.com/download/dotnet/scripts/$dotnetInstallScriptVersion/dotnet-install.sh"

Copy link
Copy Markdown
Member

@akoeplinger akoeplinger Mar 13, 2025

Choose a reason for hiding this comment

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

yes though there is no other version right now. Fixed it in #15638

@akoeplinger
Copy link
Copy Markdown
Member

/backport to release/9.0

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants