[ubuntu] installing the latest .NET sdk patch version for every feature version (#3550)
* installing the latest patch version for every feature version * simplify versions computing * fix space Co-authored-by: Sergey Dolin <[email protected]>
This commit is contained in:
co-authored by
Sergey Dolin
parent
ff4ba2e725
commit
a9d832d671
@@ -36,7 +36,8 @@ for version in ${DOTNET_VERSIONS[@]}; do
|
|||||||
rm ./${version}.json
|
rm ./${version}.json
|
||||||
done
|
done
|
||||||
|
|
||||||
sortedSdks=$(echo ${sdks[@]} | tr ' ' '\n' | grep -v preview | grep -v rc | grep -v display | cut -d\" -f2 | sort -u -r)
|
sortedSdks=$(echo ${sdks[@]} | tr ' ' '\n' | grep -v preview | grep -v rc | grep -v display | cut -d\" -f2 | sort -r | uniq -w 5)
|
||||||
|
|
||||||
extract_dotnet_sdk() {
|
extract_dotnet_sdk() {
|
||||||
local ARCHIVE_NAME="$1"
|
local ARCHIVE_NAME="$1"
|
||||||
set -e
|
set -e
|
||||||
|
|||||||
Reference in New Issue
Block a user