Skip to content

Commit

Permalink
upgrade version - 11.6.0 the prev major_version wasnt 10.11
Browse files Browse the repository at this point in the history
11.0 is end of life so 11.1 has its previous release as 10.11.
  • Loading branch information
grooverdan authored and RazvanLiviuVarzaru committed Aug 5, 2024
1 parent e7ae561 commit cb887ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/bash_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,12 @@ upgrade_test_type() {
;;
"major")
major=${major_version%.*}
# intentionally twice, 11.5.3 has minor of 5.
minor=${major_version##*.}
if ((minor == 0)); then
minor=${major_version##*.}
# with the earliest supported 11.X version
# and make this the upgrade from 10.11
if [ "$minor" -le 1 ]; then
if ((major == 11)); then
prev_major_version="10.11"
else
Expand Down

0 comments on commit cb887ac

Please sign in to comment.