Skip to content

Commit e84cb1b

Browse files
Previous major of 12.0 is 11.8
1 parent d00ca78 commit e84cb1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/bash_lib.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,11 @@ upgrade_test_type() {
415415
minor=${major_version##*.}
416416
# with the earliest supported 11.X version
417417
# and make this the upgrade from 10.11
418-
if [ "$minor" -le 1 ]; then
418+
if [ "$minor" -eq 0 ]; then
419419
if ((major == 11)); then
420420
prev_major_version="10.11"
421+
elif ((major == 12)); then
422+
prev_major_version="11.8"
421423
else
422424
bb_log_err "Unknown previous branch for $branch_tmp, please update this script"
423425
exit 1

0 commit comments

Comments
 (0)