From a58d7b932e216efc39c2e62774236e93fe6b301d Mon Sep 17 00:00:00 2001 From: Pavel Iakovenko Date: Mon, 15 Jul 2024 09:37:58 -0400 Subject: [PATCH] Add diagnostics to the install-powershell script --- images/macos/scripts/build/install-powershell.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/images/macos/scripts/build/install-powershell.sh b/images/macos/scripts/build/install-powershell.sh index d6c2a9fc8..80b24c036 100644 --- a/images/macos/scripts/build/install-powershell.sh +++ b/images/macos/scripts/build/install-powershell.sh @@ -10,6 +10,8 @@ echo Installing PowerShell... arch=$(get_arch) metadata_json_path=$(download_with_retry "https://raw.githubusercontent.com/PowerShell/PowerShell/master/tools/metadata.json") +echo $metadata_json_path +cat $metadata_json_path pwshVersionToolset=$(get_toolset_value '.pwsh.version') pwshVersions=$(jq -r '.LTSReleaseTag[]' $metadata_json_path)