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 57995d098e Only replace "client" subdir when copying sources to python
client (#39181)
57995d098e is described below
commit 57995d098e7051d0be6cfa6e614eb898261237f7
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Apr 23 00:41:11 2024 +0200
Only replace "client" subdir when copying sources to python client (#39181)
When the client is generated, only the "client" subdirectory should
be replaced rather than "airflow_client" parent so that README and
gitignores are not removed.
---
.../src/airflow_breeze/commands/release_management_commands.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
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 ba2834375a..7dfccba03b 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -2702,7 +2702,11 @@ SOURCE_API_YAML_PATH = AIRFLOW_SOURCES_ROOT / "airflow"
/ "api_connexion" / "ope
TARGET_API_YAML_PATH = PYTHON_CLIENT_DIR_PATH / "v1.yaml"
OPENAPI_GENERATOR_CLI_VER = "5.4.0"
-GENERATED_CLIENT_DIRECTORIES_TO_COPY = ["airflow_client", "docs", "test"]
+GENERATED_CLIENT_DIRECTORIES_TO_COPY: list[Path] = [
+ Path("airflow_client") / "client",
+ Path("docs"),
+ Path("test"),
+]
FILES_TO_COPY_TO_CLIENT_REPO = [
".gitignore",
".openapi-generator-ignore",