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

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


The following commit(s) were added to refs/heads/v3-2-test by this push:
     new 1b12a49510d [v3-2-test] Fix publishing failure when new providers are 
added to main (#65093) (#65101)
1b12a49510d is described below

commit 1b12a49510d1139fc125c980becdbe41df877d2d
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Apr 13 19:46:42 2026 +0300

    [v3-2-test] Fix publishing failure when new providers are added to main 
(#65093) (#65101)
    
    * Fix publishing failure when new providers are added to main
    
    When publishing docs to S3 we attempt to move all the providers,
    including those that were added after release was prepared.
    
    This for example failed publishing step at the
    
    https://github.com/apache/airflow/actions/runs/24308895274/job/70977025250
    
    We should skip all non-existing providers instead
    
    * Update .github/workflows/publish-docs-to-s3.yml
    
    
    
    ---------
    (cherry picked from commit 6a63b1e1c6bfee5a4cc5b0754614970de0096c0d)
    
    Co-authored-by: Jarek Potiuk <[email protected]>
    Co-authored-by: Jens Scheffler <[email protected]>
---
 dev/breeze/src/airflow_breeze/utils/docs_publisher.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev/breeze/src/airflow_breeze/utils/docs_publisher.py 
b/dev/breeze/src/airflow_breeze/utils/docs_publisher.py
index 01621681669..068d73d5b6f 100644
--- a/dev/breeze/src/airflow_breeze/utils/docs_publisher.py
+++ b/dev/breeze/src/airflow_breeze/utils/docs_publisher.py
@@ -108,6 +108,10 @@ class DocsPublisher:
                     return 1, f"Skipping {self.package_name}: Previously 
existing directory"
             # If output directory exists and is not versioned, delete it
             shutil.rmtree(output_dir)
+        if not os.path.exists(self._build_dir):
+            get_console(output=self.output).print(f"Build directory 
{self._build_dir} does not exist!")
+            get_console(output=self.output).print()
+            return 0, f"Skipping {self.package_name}: Build directory does not 
exist"
         shutil.copytree(self._build_dir, output_dir)
         if self.is_versioned:
             with open(os.path.join(output_dir, "..", "stable.txt"), "w") as 
stable_file:

Reply via email to