Skip to content

Commit 50e3f13

Browse files
Merge pull request #629 from musicmrman99/fix-version-typeerror
Fix TypeError in version.py
2 parents a289b76 + e2d9f97 commit 50e3f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setuptools_scm/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
def _parse_version_tag(tag, config):
19-
tagstring = tag if not isinstance(tag, str) else str(tag)
19+
tagstring = tag if isinstance(tag, str) else str(tag)
2020
match = config.tag_regex.match(tagstring)
2121

2222
result = None

0 commit comments

Comments
 (0)