We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29c746d commit b47ee1bCopy full SHA for b47ee1b
build_differ.py
@@ -45,7 +45,7 @@ def cleanup_old_builds(dist_dir, current_version):
45
Deletes any build files ending in .zip or .tar.gz in the dist_dir with a different version tag.
46
"""
47
for file in os.listdir(dist_dir):
48
- if not file.endswith((f'{current_version}.zip', f'{current_version}.tar.gz'), '.gitignore'):
+ if not file.endswith((f'{current_version}.zip', f'{current_version}.tar.gz', '.gitignore')):
49
file_path = os.path.join(dist_dir, file)
50
os.remove(file_path)
51
print(f"Deleted old build file: {file}")
0 commit comments