The target version is already in $targetVersion. And you should print the current version too.