fix: update version file path and add debug logging for version checks

This commit is contained in:
Paul Gauthier 2024-12-04 09:09:56 -08:00 committed by Paul Gauthier (aider)
parent 43f3f54063
commit d09d281a8d
2 changed files with 4 additions and 2 deletions

View file

@ -154,8 +154,8 @@ def main():
if not dry_run:
subprocess.run(cmd, check=True)
# Remove aider/__version__.py if it exists
version_file = "aider/__version__.py"
# Remove aider/_version.py if it exists
version_file = "aider/_version.py"
if os.path.exists(version_file):
print(f"Removing {version_file}")
if not dry_run: