From 3c7978b1166b63ea342f51d1778c48d5ce362c65 Mon Sep 17 00:00:00 2001 From: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com> Date: Fri, 28 Jul 2023 16:12:54 +0200 Subject: [PATCH] [macOS] update dotnet core version json path (#7995) --- images/macos/provision/core/dotnet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/macos/provision/core/dotnet.sh b/images/macos/provision/core/dotnet.sh index 6e71ae364..eb877600d 100755 --- a/images/macos/provision/core/dotnet.sh +++ b/images/macos/provision/core/dotnet.sh @@ -23,7 +23,7 @@ echo "Parsing dotnet SDK (except rc and preview versions) from .json..." DOTNET_VERSIONS=($(get_toolset_value ".dotnet.arch[\"$arch\"].versions | .[]")) for DOTNET_VERSION in "${DOTNET_VERSIONS[@]}"; do - RELEASE_URL="https://raw.githubusercontent.com/dotnet/core/master/release-notes/${DOTNET_VERSION}/releases.json" + RELEASE_URL="https://raw.githubusercontent.com/dotnet/core/main/release-notes/${DOTNET_VERSION}/releases.json" download_with_retries "$RELEASE_URL" "/tmp" "dotnet_${DOTNET_VERSION}.json" if [[ $DOTNET_VERSION == "6.0" ]]; then