handle versions switching to major.minor
fix version comparison (str compare bad)
Merge branch 'version-major-minor'