Skip to content

Commit e8fddc9

Browse files
committed
Fixed bug in SCMInfo setup
1 parent 62167bb commit e8fddc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bumpversion/scm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def latest_tag_info(cls, tag_pattern: str) -> SCMInfo:
213213
logger.debug("Error when running git describe: %s", e.stderr)
214214
return SCMInfo(tool=cls)
215215

216-
info = SCMInfo()
216+
info = SCMInfo(tool=cls)
217217

218218
if describe_out[-1].strip() == "dirty":
219219
info.dirty = True

0 commit comments

Comments
 (0)