You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/06/20 13:48:20 UTC

[airflow-client-python] 01/01: Update the release doc to add cherrypicking instruction

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

ephraimanierobi pushed a commit to branch update-releasedoc
in repository https://gitbox.apache.org/repos/asf/airflow-client-python.git

commit d6c418d73458d59271b209e0e12c10fafe05b2c9
Author: Ephraim Anierobi <sp...@gmail.com>
AuthorDate: Tue Jun 20 14:45:59 2023 +0100

    Update the release doc to add cherrypicking instruction
---
 dev/README_RELEASE_CLIENT.md | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev/README_RELEASE_CLIENT.md b/dev/README_RELEASE_CLIENT.md
index b582e8a..688ebc9 100644
--- a/dev/README_RELEASE_CLIENT.md
+++ b/dev/README_RELEASE_CLIENT.md
@@ -26,6 +26,8 @@ The Python client is generated using Airflow's [openapi spec](https://github.com
 To update the client for new APIs do the following steps:
 
 ```bash
+# set the version of the client
+export VERSION=2.0.0rc1
 # clone this repo
 git clone git@github.com:apache/airflow-client-python.git
 cd airflow-client-python
@@ -68,7 +70,17 @@ cd ${CLIENT_REPO_ROOT}
       ```
 
 - Update CHANGELOG.md with the details.
-- Raise a PR in airflow-client-python
+- Commit the Changes with the message "Add Client Version ${VERSION}":
+  ```shell script
+  git add .
+  git commit -m "Add Client Version ${VERSION}"
+  ```
+- Cherry-pick this commit: https://github.com/apache/airflow-client-python/commit/ddd6fc0545a8066f474c765e1644a5202eebd256
+  ```shell script
+    git cherry-pick ddd6fc0545a8066f474c765e1644a5202eebd256 -x
+  ```
+  #TODO: Remove the cherry-pick instruction above when we upgrade to new client generator
+- Raise a PR in airflow-client-python with the above changes
 - Merge the above PR when approved before proceeding
 
 # Prepare the Apache Airflow Python Client Package RC