Skip to content

Commit 7334743

Browse files
potiukprofgrammer
authored andcommitted
Fix release cleanup for providers (apache#58082)
* Fix release cleanup for providers * Apply suggestion from @potiuk
1 parent 6acc49f commit 7334743

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev/breeze/src/airflow_breeze/commands/release_management_commands.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1966,6 +1966,8 @@ def clean_old_provider_artifacts(
19661966
os.chdir(directory)
19671967

19681968
for file in glob.glob(f"*{suffix}"):
1969+
if "-source" in file:
1970+
continue
19691971
versioned_file = split_version_and_suffix(file, suffix)
19701972
package_types_dicts[versioned_file.type].append(versioned_file)
19711973

0 commit comments

Comments
 (0)