Skip to content

Commit

Permalink
Revert "[ubuntu] installing the latest .NET sdk patch version for eve…
Browse files Browse the repository at this point in the history
…ry feature version (actions#3550)"

This reverts commit a9d832d.
  • Loading branch information
makzpain authored Jun 18, 2021
1 parent b03244b commit 4435807
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions images/linux/scripts/installers/dotnetcore-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ for version in ${DOTNET_VERSIONS[@]}; do
rm ./${version}.json
done

sortedSdks=$(echo ${sdks[@]} | tr ' ' '\n' | grep -v preview | grep -v rc | grep -v display | cut -d\" -f2 | sort -r | uniq -w 5)

sortedSdks=$(echo ${sdks[@]} | tr ' ' '\n' | grep -v preview | grep -v rc | grep -v display | cut -d\" -f2 | sort -u -r)
extract_dotnet_sdk() {
local ARCHIVE_NAME="$1"
set -e
Expand Down Expand Up @@ -67,4 +66,4 @@ setEtcEnvironmentVariable DOTNET_NOLOGO 1
setEtcEnvironmentVariable DOTNET_MULTILEVEL_LOOKUP 0
prependEtcEnvironmentPath '$HOME/.dotnet/tools'

invoke_tests "DotnetSDK"
invoke_tests "DotnetSDK"

0 comments on commit 4435807

Please sign in to comment.