diff --git a/tbump/config.py b/tbump/config.py index a0014fd..84cedde 100644 --- a/tbump/config.py +++ b/tbump/config.py @@ -54,7 +54,7 @@ def __init__(self, project_path: Path, path: Path, doc: TOMLDocument): @property def relative_path(self) -> Path: - return self.path.relative_to(self.project_path) + return self.project_path / self.path def print_self(self) -> None: from tbump.cli import print_diff