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

zhongjiajie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 02faabe  [community] Add content about release python api (#698)
02faabe is described below

commit 02faabeced7965d125e64dd66b17d9f21a41c05a
Author: Jiajie Zhong <[email protected]>
AuthorDate: Tue Feb 22 17:49:27 2022 +0800

    [community] Add content about release python api (#698)
    
    * Remove ambari version change
    * Add how to change python verison
    * Change release
---
 community/en-us/release-prepare.md |  6 +-----
 community/en-us/release.md         | 11 +++++++++++
 community/zh-cn/release-prepare.md |  6 +-----
 community/zh-cn/release.md         | 10 ++++++++++
 4 files changed, 23 insertions(+), 10 deletions(-)

diff --git a/community/en-us/release-prepare.md 
b/community/en-us/release-prepare.md
index 2108963..a55dba7 100644
--- a/community/en-us/release-prepare.md
+++ b/community/en-us/release-prepare.md
@@ -13,11 +13,6 @@ Compared with the last release, the `release-docs` of the 
current release needs
 For example, to release `x.y.z`, the following updates are required:
 
  - `pom.xml`: `revision`, `version`, `tag` need to be updated to x.y.z
- - `ambari_plugin`:
-   - `ambari_plugin/common-services/DOLPHIN/x.y.z`: the directory needs to be 
updated to x.y.z
-   - `ambari_plugin/common-services/DOLPHIN/x.y.z/alerts.json`: the content 
needs to be updated to x.y.z
-   - `ambari_plugin/common-services/DOLPHIN/x.y.z/metainfo.xml`: the content 
needs to be updated to x.y.z
-   - `ambari_plugin/statcks/DOLPHIN/metainfo.xml`: the content needs to be 
updated to x.y.z
  - `sql`:
    - `dolphinscheduler_mysql.sql`: `t_ds_version` needs to be updated to x.y.z
    - `dolphinscheduler_postgre.sql`: `t_ds_version` needs to be updated to 
x.y.z
@@ -29,3 +24,4 @@ For example, to release `x.y.z`, the following updates are 
required:
  - `docker/kubernetes/dolphinscheduler`:
    - `Chart.yaml`: `appVersion` needs to be updated to x.y.z (`version` is 
helm chart version,incremented and different from x.y.z)
    - `values.yaml`: `image.tag` needs to be updated to x.y.z
+  - `dolphinscheduler-python/pydolphinscheduler/setup.py`: change `version` to 
x.y.z
diff --git a/community/en-us/release.md b/community/en-us/release.md
index 8c5961f..9cf40d7 100644
--- a/community/en-us/release.md
+++ b/community/en-us/release.md
@@ -226,8 +226,13 @@ cd ~/ds_svn/dev/dolphinscheduler/${RELEASE.VERSION}
 Add source code packages, binary packages and executable binary packages to 
SVN working directory.
 
 ```shell
+# Source and binary tarball for main code
 cp -f ~/dolphinscheduler/dolphinscheduler-dist/target/*.tar.gz 
~/ds_svn/dev/dolphinscheduler/${RELEASE.VERSION}
 cp -f ~/dolphinscheduler/dolphinscheduler-dist/target/*.tar.gz.asc 
~/ds_svn/dev/dolphinscheduler/${RELEASE.VERSION}
+
+# Source and binary tarball for Python API
+mkdir -p ~/ds_svn/dev/dolphinscheduler/${RELEASE.VERSION}/python
+cp -f ~/dolphinscheduler/dolphinscheduler-dist/target/python/* 
~/ds_svn/dev/dolphinscheduler/${RELEASE.VERSION}/python
 ```
 
 ### Generate sign files
@@ -235,6 +240,8 @@ cp -f 
~/dolphinscheduler/dolphinscheduler-dist/target/*.tar.gz.asc ~/ds_svn/dev/
 ```shell
 shasum -a 512 apache-dolphinscheduler-${RELEASE.VERSION}-src.tar.gz >> 
apache-dolphinscheduler-${RELEASE.VERSION}-src.tar.gz.sha512
 shasum -b -a 512 apache-dolphinscheduler-${RELEASE.VERSION}-bin.tar.gz >> 
apache-dolphinscheduler-${RELEASE.VERSION}-bin.tar.gz.sha512
+shasum -a 512 python/apache-dolphinscheduler-${RELEASE.VERSION}.tar.gz >> 
python/apache-dolphinscheduler-${RELEASE.VERSION}.tar.gz.sha512
+shasum -b -a 512 
python/apache_dolphinscheduler-${RELEASE.VERSION}-py3-none-any.whl >> 
python/apache_dolphinscheduler-${RELEASE.VERSION}-py3-none-any.whl.sha512
 ```
 
 ### Commit to Apache SVN
@@ -250,6 +257,8 @@ svn --username=${APACHE LDAP username} commit -m "release 
${RELEASE.VERSION}"
 ```shell
 shasum -c apache-dolphinscheduler-${RELEASE.VERSION}-src.tar.gz.sha512
 shasum -c apache-dolphinscheduler-${RELEASE.VERSION}-bin.tar.gz.sha512
+shasum -c python/apache-dolphinscheduler-${RELEASE.VERSION}.tar.gz.sha512
+shasum -c 
python/apache_dolphinscheduler-${RELEASE.VERSION}-py3-none-any.whl.sha512
 ```
 
 ### Check gpg Signature
@@ -283,6 +292,8 @@ Then, check the gpg signature.
 ```shell
 gpg --verify apache-dolphinscheduler-${RELEASE.VERSION}-src.tar.gz.asc 
apache-dolphinscheduler-${RELEASE.VERSION}-src.tar.gz
 gpg --verify apache-dolphinscheduler-${RELEASE.VERSION}-bin.tar.gz.asc 
apache-dolphinscheduler-${RELEASE.VERSION}-bin.tar.gz
+gpg --verify python/apache-dolphinscheduler-${RELEASE.VERSION}.tar.gz.asc 
python/apache-dolphinscheduler-${RELEASE.VERSION}.tar.gz
+gpg --verify 
python/apache_dolphinscheduler-${RELEASE.VERSION}-py3-none-any.whl.asc 
python/apache_dolphinscheduler-${RELEASE.VERSION}-py3-none-any.whl
 ```
 
 ### Check Released Files
diff --git a/community/zh-cn/release-prepare.md 
b/community/zh-cn/release-prepare.md
index 44d95aa..408ec72 100644
--- a/community/zh-cn/release-prepare.md
+++ b/community/zh-cn/release-prepare.md
@@ -13,11 +13,6 @@
 例如要发版 `x.y.z`,需要先进行以下修改:
 
  - `pom.xml`: `revision`, `version`, `tag` 标签版本更新为 x.y.z
- - `ambari_plugin`:
-   - `ambari_plugin/common-services/DOLPHIN/x.y.z`: 目录版本更新为 x.y.z
-   - `ambari_plugin/common-services/DOLPHIN/x.y.z/alerts.json`: 内容版本更新为 x.y.z
-   - `ambari_plugin/common-services/DOLPHIN/x.y.z/metainfo.xml`: 内容版本更新为 x.y.z
-   - `ambari_plugin/statcks/DOLPHIN/metainfo.xml`: 内容版本更新为 x.y.z
  - `sql`:
    - `dolphinscheduler_mysql.sql`: `t_ds_version` 版本更新为 x.y.z
    - `dolphinscheduler_postgre.sql`: `t_ds_version` 版本更新为 x.y.z
@@ -29,3 +24,4 @@
  - `docker/kubernetes/dolphinscheduler`:
    - `Chart.yaml`: `appVersion` 版本更新为 x.y.z (`version` 为 helm chart 版本, 
增量更新但不要设置为 x.y.z)
    - `values.yaml`: `image.tag` 版本更新为 x.y.z
+ - `dolphinscheduler-python/pydolphinscheduler/setup.py`: 修改其中的 `version` 为 
x.y.z
diff --git a/community/zh-cn/release.md b/community/zh-cn/release.md
index 55a4618..6cfaa9a 100644
--- a/community/zh-cn/release.md
+++ b/community/zh-cn/release.md
@@ -245,9 +245,13 @@ cd ~/ds_svn/dev/dolphinscheduler/${RELEASE.VERSION}
 将源码包和二进制包添加至SVN工作目录。
 
 ```shell
+# 主程序源码包和二进制包
 cp -f ~/dolphinscheduler/dolphinscheduler-dist/target/*.tar.gz 
~/ds_svn/dev/dolphinscheduler/${RELEASE.VERSION}
 cp -f ~/dolphinscheduler/dolphinscheduler-dist/target/*.tar.gz.asc 
~/ds_svn/dev/dolphinscheduler/${RELEASE.VERSION}
 
+# Python API 源码和二进制包
+mkdir -p ~/ds_svn/dev/dolphinscheduler/${RELEASE.VERSION}/python
+cp -f ~/dolphinscheduler/dolphinscheduler-dist/target/python/* 
~/ds_svn/dev/dolphinscheduler/${RELEASE.VERSION}/python
 ```
 
 ### 生成文件签名
@@ -255,6 +259,8 @@ cp -f 
~/dolphinscheduler/dolphinscheduler-dist/target/*.tar.gz.asc ~/ds_svn/dev/
 ```shell
 shasum -a 512 apache-dolphinscheduler-${RELEASE.VERSION}-src.tar.gz >> 
apache-dolphinscheduler-${RELEASE.VERSION}-src.tar.gz.sha512
 shasum -b -a 512 apache-dolphinscheduler-${RELEASE.VERSION}-bin.tar.gz >> 
apache-dolphinscheduler-${RELEASE.VERSION}-bin.tar.gz.sha512
+shasum -a 512 python/apache-dolphinscheduler-${RELEASE.VERSION}.tar.gz >> 
python/apache-dolphinscheduler-${RELEASE.VERSION}.tar.gz.sha512
+shasum -b -a 512 
python/apache_dolphinscheduler-${RELEASE.VERSION}-py3-none-any.whl >> 
python/apache_dolphinscheduler-${RELEASE.VERSION}-py3-none-any.whl.sha512
 ```
 
 ### 提交Apache SVN
@@ -271,6 +277,8 @@ svn --username=${APACHE LDAP 用户名} commit -m "release 
${RELEASE.VERSION}"
 ```shell
 shasum -c apache-dolphinscheduler-${RELEASE.VERSION}-src.tar.gz.sha512
 shasum -c apache-dolphinscheduler-${RELEASE.VERSION}-bin.tar.gz.sha512
+shasum -c python/apache-dolphinscheduler-${RELEASE.VERSION}.tar.gz.sha512
+shasum -c 
python/apache_dolphinscheduler-${RELEASE.VERSION}-py3-none-any.whl.sha512
 ```
 
 ### 检查gpg签名
@@ -303,6 +311,8 @@ Your decision? 5
 ```shell
 gpg --verify apache-dolphinscheduler-${RELEASE.VERSION}-src.tar.gz.asc 
apache-dolphinscheduler-${RELEASE.VERSION}-src.tar.gz
 gpg --verify apache-dolphinscheduler-${RELEASE.VERSION}-bin.tar.gz.asc 
apache-dolphinscheduler-${RELEASE.VERSION}-bin.tar.gz
+gpg --verify python/apache-dolphinscheduler-${RELEASE.VERSION}.tar.gz.asc 
python/apache-dolphinscheduler-${RELEASE.VERSION}.tar.gz
+gpg --verify 
python/apache_dolphinscheduler-${RELEASE.VERSION}-py3-none-any.whl.asc 
python/apache_dolphinscheduler-${RELEASE.VERSION}-py3-none-any.whl
 ```
 
 ### 检查发布文件内容

Reply via email to