pub fn find_max_version(target_dir: &Path) -> Result<String>