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

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


The following commit(s) were added to refs/heads/v3-0-test by this push:
     new 29932a3ebb7 [v3-0-test] Fix index generation destination (#52870) 
(#52872)
29932a3ebb7 is described below

commit 29932a3ebb7f328bc58065be074b137675f0a9cf
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jul 4 14:13:06 2025 +0200

    [v3-0-test] Fix index generation destination (#52870) (#52872)
    
    (cherry picked from commit 4e6b7f814955193c51dea3993e140d2a761d5662)
    
    Co-authored-by: Jarek Potiuk <[email protected]>
---
 dev/breeze/src/airflow_breeze/commands/sbom_commands.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/sbom_commands.py 
b/dev/breeze/src/airflow_breeze/commands/sbom_commands.py
index 0e4a174f483..1c0a7670802 100644
--- a/dev/breeze/src/airflow_breeze/commands/sbom_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/sbom_commands.py
@@ -451,11 +451,11 @@ def update_sbom_information(
         for airflow_v in airflow_versions:
             if airflow_site_archive_path:
                 apache_airflow_documentation_directory = (
-                    airflow_site_archive_path / "docs-archive" / 
"apache-airflow"
+                    airflow_site_archive_path / "docs-archive" / 
"apache-airflow" / airflow_v
                 )
             elif airflow_root_path:
                 apache_airflow_documentation_directory = (
-                    airflow_root_path / "generated" / "_build" / "docs" / 
"apache-airflow"
+                    airflow_root_path / "generated" / "_build" / "docs" / 
"apache-airflow" / "stable"
                 )
             else:
                 get_console().print(
@@ -463,7 +463,7 @@ def update_sbom_information(
                     "Please specify one of them."
                 )
                 sys.exit(1)
-            airflow_version_dir = apache_airflow_documentation_directory / 
airflow_v
+            airflow_version_dir = apache_airflow_documentation_directory
             destination_dir = airflow_version_dir / "sbom"
             destination_dir.mkdir(parents=True, exist_ok=True)
             _generate_index(destination_dir, None, airflow_v)

Reply via email to