We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f30d214 commit 0ca2852Copy full SHA for 0ca2852
arduino-ci-script.sh
@@ -382,7 +382,7 @@ function generate_ide_version_list_array()
382
383
# Remove duplicates from list https://stackoverflow.com/a/13648438
384
# shellcheck disable=SC2207
385
- readonly local uniqueIDElistArray=($(echo "${rawIDElistArray[@]}" | tr ' ' '\n' | sort -u | tr '\n' ' '))
+ readonly local uniqueIDElistArray=($(echo "${rawIDElistArray[@]}" | tr ' ' '\n' | sort --unique --version-sort | tr '\n' ' '))
386
387
# Generate ARDUINO_CI_SCRIPT_GENERATED_IDE_VERSION_LIST_ARRAY
388
ARDUINO_CI_SCRIPT_GENERATED_IDE_VERSION_LIST_ARRAY="$ARDUINO_CI_SCRIPT_IDE_VERSION_LIST_ARRAY_DECLARATION"'('
0 commit comments