Versioning script incorrectly takes current tag into account
It should not; it is now the task of the CI scripts to give tagged builds the version indicated by the tag.
It should not; it is now the task of the CI scripts to give tagged builds the version indicated by the tag.