Check if we can downgrade to the target version from the current version Print an error message with the pivot version to use if the downgrade is not possible


check_downgrade_version <target_version>RESULT
return 0 if the downgrade can be done
return 1 and print an error message with the current pivot version to use before doing the downgrade


check_downgrade_version 3.2.0
Can't downgrade to target version, downgrade to the following pivot version before downgrading to the desired version: 4.3.10