BLD: version strings should be updated only when tagging new release
Merge pull request #5803 from y-p/PR_fix_version

BLD: version strings should be updated only when tagging new release