See the tracker bug. if [[ $REPLACING_VERSIONS < "1.2" ]]; then 1. This misbehaves if REPLACING_VERSIONS is empty or has >1 value. 2. < is lexicographical string comparison, so e.g. 10 < 1 is true.
Thanks for reporting. I removed the warnings, since version <1.2 is gone for a long time now