Set version number from the git tag and number of commits