fixed the bug of not installing the latest created version to m2. repo