Someone had the same thing here: Publishing all places of a universe after package mass-update - #13 by homermafia1
Basically, it happens when you try publishing a place that is the same as the latest version and that this version is published already.
So make sure you used the “Update all” feature of packages before running the script, otherwise, no changes will be present so the version number won’t change.