This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-1-test by this push:
     new 4e76feda121 [v3-1-test] Fix release cleanup for providers (#58082) 
(#58095)
4e76feda121 is described below

commit 4e76feda1218575a90612fa73436f66a96168b03
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Nov 9 11:17:10 2025 +0100

    [v3-1-test] Fix release cleanup for providers (#58082) (#58095)
    
    * Fix release cleanup for providers
    
    * Apply suggestion from @potiuk
    (cherry picked from commit bc3a750af476b991ca34e6c696208f8e75ff99a7)
    
    Co-authored-by: Jarek Potiuk <[email protected]>
---
 dev/breeze/src/airflow_breeze/commands/release_management_commands.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py 
b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
index 5708ca1d47a..3c34b9f1d76 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -1977,6 +1977,8 @@ def clean_old_provider_artifacts(
         os.chdir(directory)
 
         for file in glob.glob(f"*{suffix}"):
+            if "-source" in file:
+                continue
             versioned_file = split_version_and_suffix(file, suffix)
             package_types_dicts[versioned_file.type].append(versioned_file)
 

Reply via email to