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

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 93f34b37380 Fix release documentation for Airflow-CTL PMC check 
(#62483)
93f34b37380 is described below

commit 93f34b37380144d4f2437bf5dbcace3d23f17dee
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Feb 27 21:50:25 2026 +0100

    Fix release documentation for Airflow-CTL PMC check (#62483)
---
 dev/README_RELEASE_AIRFLOW.md                              |  3 +++
 dev/README_RELEASE_AIRFLOWCTL.md                           |  1 +
 dev/README_RELEASE_PYTHON_CLIENT.md                        |  5 +----
 dev/breeze/src/airflow_breeze/utils/check_release_files.py | 14 +++++++++-----
 4 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/dev/README_RELEASE_AIRFLOW.md b/dev/README_RELEASE_AIRFLOW.md
index ff982d7618c..ef5640f134d 100644
--- a/dev/README_RELEASE_AIRFLOW.md
+++ b/dev/README_RELEASE_AIRFLOW.md
@@ -886,11 +886,14 @@ present in SVN. This command may also help with verifying 
installation of the pa
 breeze release-management check-release-files airflow --version ${VERSION_RC}
 ```
 
+You will see commands that you can execute to check installation of the 
distributions in containers.
 
 ```shell script
 breeze release-management check-release-files task-sdk --version 
${TASK_SDK_VERSION_RC}
 ```
 
+You will see commands that you can execute to check installation of the 
distributions in containers.
+
 ## Licence check
 
 This can be done with the Apache RAT tool.
diff --git a/dev/README_RELEASE_AIRFLOWCTL.md b/dev/README_RELEASE_AIRFLOWCTL.md
index 2d6b4d27f68..2715b5b66ac 100644
--- a/dev/README_RELEASE_AIRFLOWCTL.md
+++ b/dev/README_RELEASE_AIRFLOWCTL.md
@@ -539,6 +539,7 @@ present in SVN. This command may also help with verifying 
installation of the pa
 breeze release-management check-release-files airflow-ctl --version 
${VERSION_RC}
 ```
 
+You will see commands that you can execute to check installation of the 
distributions in containers.
 
 ### Licence check
 
diff --git a/dev/README_RELEASE_PYTHON_CLIENT.md 
b/dev/README_RELEASE_PYTHON_CLIENT.md
index 214396b1331..19cc2469f21 100644
--- a/dev/README_RELEASE_PYTHON_CLIENT.md
+++ b/dev/README_RELEASE_PYTHON_CLIENT.md
@@ -451,10 +451,7 @@ present in SVN. This command may also help with verifying 
installation of the pa
 breeze release-management check-release-files python-client --version 
${VERSION_RC}
 ```
 
-You can also follow the docker check that installs the distribution in a 
docker container and verifies
-that the package can be installed and imported correctly and print it's 
version. The command above prints
-instructions on how to do that.
-
+You will see commands that you can execute to check installation of the 
distributions in containers.
 
 ### Licence check
 
diff --git a/dev/breeze/src/airflow_breeze/utils/check_release_files.py 
b/dev/breeze/src/airflow_breeze/utils/check_release_files.py
index 14c606a2c97..81ea3c0563b 100644
--- a/dev/breeze/src/airflow_breeze/utils/check_release_files.py
+++ b/dev/breeze/src/airflow_breeze/utils/check_release_files.py
@@ -89,11 +89,15 @@ def create_docker(txt: str, output_file: Path, 
release_type: str):
 
     console = get_console()
     console.print("\n[bold]To check installation run:[/bold]")
-    command = (
-        '--entrypoint "airflow" local/airflow info'
-        if release_type != "python-client"
-        else '--entrypoint "bash" local/airflow "-c" "python -c \'import 
airflow_client.client; print(airflow_client.client.__version__)\'"'
-    )
+    if release_type == "python-client":
+        command = (
+            '--entrypoint "bash" local/airflow "-c" "python -c '
+            "'import airflow_client.client; 
print(airflow_client.client.__version__)'\""
+        )
+    elif release_type == "airflow-ctl":
+        command = '--entrypoint "airflowctl" local/airflow --help'
+    else:
+        command = '--entrypoint "airflow" local/airflow info'
     console.print(
         f"""\
         docker build -f {output_file} --tag local/airflow .

Reply via email to