diff --git a/src/pycalver/__main__.py b/src/pycalver/__main__.py index 609be62..eef1c53 100644 --- a/src/pycalver/__main__.py +++ b/src/pycalver/__main__.py @@ -245,7 +245,6 @@ def bump( if dry or _vcs is None or not cfg.commit: return - return for filepath in filepaths: _vcs.add(filepath) diff --git a/src/pycalver/vcs.py b/src/pycalver/vcs.py index fa31a3c..4897f6f 100644 --- a/src/pycalver/vcs.py +++ b/src/pycalver/vcs.py @@ -89,7 +89,7 @@ class VCS: def add(self, path) -> None: log.info(f"{self.name} add {path}") - self('add', path=path) + self('add_path', path=path) def commit(self, message: str) -> None: log.info(f"{self.name} commit -m '{message}'")