Skip to content

Commit 77da109

Browse files
committed
Ensure we call tag_to_version
Closes #61
1 parent 3649c15 commit 77da109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools_scm/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def format_choice(self, clean_format, dirty_format):
7878

7979

8080
def meta(tag, distance=None, dirty=False, node=None, **kw):
81-
if parse_version is not None and not isinstance(tag, SetuptoolsVersion):
81+
if SetuptoolsVersion is None or not isinstance(tag, SetuptoolsVersion):
8282
tag = tag_to_version(tag)
8383
trace('version', tag)
8484

0 commit comments

Comments
 (0)