code: def tag_new_version(version: str):
      
  
      check_repo()
      return repo.git.tag('-a', 'v{0}'.format(version), m='v{0}'.format(version))
docs: Creates a new tag with the version number prefixed with v.
  
      :param version: The version number used in the tag as a string.