def METHOD_NAME(package, project, extra_tag='', git_dir=None):
    builtin_ver = _latest_version_for_project(project, git_dir)
    if extra_tag:
        version = builtin_ver + '.dev{}'.format(extra_tag)
    else:
        version = builtin_ver
    return version