This doesn't handle `2.0.M6-SNAP23` and `2.0.M6-SNAP23a` comparison.