We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85f63ee commit b722a07Copy full SHA for b722a07
1 file changed
scripts/bash_lib.sh
@@ -462,8 +462,7 @@ upgrade_test_type() {
462
;;
463
"major")
464
major=${major_version%.*}
465
- # intentionally twice, 11.5.3 has minor of 5.
466
- minor=${major_version##*.}
+ # 11.5 has minor of 5 and major of 11
467
minor=${major_version##*.}
468
# with the earliest supported 11.X version
469
# and make this the upgrade from 10.11
@@ -477,7 +476,20 @@ upgrade_test_type() {
477
476
exit 1
478
fi
479
else
480
- prev_major_version="$major.$((minor - 1))"
+ case $major_version in
+ "10.11")
481
+ prev_major_version="10.6"
482
+ ;;
483
+ "11.4")
484
+ prev_major_version="10.11"
485
486
+ "11.8")
487
+ prev_major_version="11.4"
488
489
+ *)
490
+ prev_major_version="$major.$((minor - 1))"
491
492
+ esac
493
494
495
"distro")
0 commit comments