We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb89275 commit df461e6Copy full SHA for df461e6
setuptools_git_versioning.py
@@ -71,7 +71,7 @@ def get_all_tags(sort_by=DEFAULT_SORT_BY): # type: (str) -> List[str]
71
72
def get_branch_tags(*args, **kwargs): # type: (*str, **str) -> List[str]
73
warnings.warn(
74
- "`get_tags` function is deprecated "
+ "`get_branch_tags` function is deprecated "
75
"since setuptools-git-versioning v1.8.0 "
76
"and will be dropped in v2.0.0\n"
77
"Please use `get_tags` instead",
@@ -89,7 +89,7 @@ def get_tags(sort_by=DEFAULT_SORT_BY): # type: (str) -> List[str]
89
90
91
def get_tag(*args, **kwargs): # type: (*str, **str) -> Optional[str]
92
- tags = get_branch_tags(*args, **kwargs)
+ tags = get_tags(*args, **kwargs)
93
if tags:
94
return tags[0]
95
return None
0 commit comments