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 d9dad83 commit 22bc1dbCopy full SHA for 22bc1db
setuptools_git_versioning.py
@@ -37,14 +37,14 @@ def get_branch(): # type: () -> Optional[str]
37
38
39
def get_all_tags(): # type: () -> List[str]
40
- tags = _exec("git tag --sort=-version:refname")
+ tags = _exec("git tag --sort=-committerdate")
41
if tags:
42
return tags
43
return []
44
45
46
def get_branch_tags(): # type: () -> List[str]
47
- tags = _exec("git tag --sort=-version:refname --merged")
+ tags = _exec("git tag --sort=-committerdate --merged")
48
49
50
0 commit comments