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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9962fc70f4 [INLONG-749][Doc] Add the branch image to show the relation 
(#750)
9962fc70f4 is described below

commit 9962fc70f4768a24d5c75daea5040d382a6a509f
Author: Charles Zhang <[email protected]>
AuthorDate: Tue May 16 19:50:35 2023 +0800

    [INLONG-749][Doc] Add the branch image to show the relation (#750)
---
 community/how-to-release.md                             |   9 +++++----
 community/images/branch.png                             | Bin 0 -> 38704 bytes
 .../current/how-to-release.md                           |   7 ++++---
 .../current/images/branch.png                           | Bin 0 -> 38704 bytes
 4 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/community/how-to-release.md b/community/how-to-release.md
index 034ef88f3c..d08231a646 100644
--- a/community/how-to-release.md
+++ b/community/how-to-release.md
@@ -170,10 +170,11 @@ Adding `<servers>/<profiles>` configurations in your 
maven `settings.xml` with c
 ```
 
 ## Build
-The following `release_version` is the upcoming release number, such as 1.4.0; 
`rc_version` is Release Candidate, such as RC0, RC1...; `KEY_ID` is your GPG 
Key ID.
+The following `release_version` is the upcoming release number, such as 1.6.0; 
`rc_version` is Release Candidate, such as RC0, RC1...; `KEY_ID` is your GPG 
Key ID.
 
 ### Prepare branch
-- Create the release branch from the main version branch and modify the POM 
version number and CHANGES.md. For example, create `release-1.4.0` from 
`branch-1.4`.
+- Modify the POM version number and CHANGES.md, and create the **release 
branch** from the **main version branch** and . For example, create 
`release-1.6.0` from `branch-1.6`.
+  ![](images/branch.png)
 
 - check the code for release branch, including whether compile, unit test, RAT 
check, Docker images etc.
 ```shell
@@ -208,8 +209,8 @@ $ git archive --format=tar.gz 
--output="/tmp/apache-inlong-${release_version}-${
 ### Upload tag to git repository
 ```shell
 # under the directory where you create the tag
-$ git push origin ${release_version}-${rc_version}
 $ git push origin release-${release_version}
+$ git push origin ${release_version}-${rc_version}
 ```
 
 ### Building binary package
@@ -230,7 +231,7 @@ $ cp 
./inlong-distribution/target/apache-inlong-${release_version}-sort-connecto
 
 ### Sign the source package/binary package/sha512
 ```shell
-# 进入源码包目录
+# source directory
 $ cd /tmp/apache-inlong-${release_version}-${rc_version}
 # calculate SHA512
 $ for i in *.tar.gz; do echo $i; gpg -u ${KEY_ID} --print-md SHA512 $i > 
$i.sha512 ; done 
diff --git a/community/images/branch.png b/community/images/branch.png
new file mode 100644
index 0000000000..22e6495f81
Binary files /dev/null and b/community/images/branch.png differ
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md 
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md
index 1b568eb6cf..76a3257c19 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md
@@ -169,10 +169,11 @@ $ svn ci -m "add gpg key for YOUR_NAME"
 ```
 
 ## 编译打包
-以下 `release_version` 为即将发布的版本号,比如 1.4.0;`rc_version` 为 Releae Candidate,比如 
RC0,RC1...;`KEY_ID` 是你创建的 GPG Key ID.
+以下 `release_version` 为即将发布的版本号,比如 1.6.0;`rc_version` 为 Releae Candidate,比如 
RC0,RC1...;`KEY_ID` 是你创建的 GPG Key ID.
 
 ### 准备分支
-- 从版本主分支创建待发布分支,并修改 POM 版本号和 CHANGES.md。比如从 `branch-1.4` 创建 `release-1.4.0`。
+- 修改 POM 版本号和 CHANGES.md,从**版本主分支**创建待**发布分支**。比如从 `branch-1.6` 创建 
`release-1.6.0`。
+  ![](images/branch.png)
 
 - 检查 release 分支代码是否正常,包括编译成功、单元测试全部成功、RAT 检查、Docker 镜像等
 ```shell
@@ -207,8 +208,8 @@ $ git archive --format=tar.gz 
--output="/tmp/apache-inlong-${release_version}-${
 ### 上传 tag 到 git 仓库
 ```shell
 # 在创建 tag 的源码目录执行
-$ git push origin ${release_version}-${rc_version}
 $ git push origin release-${release_version}
+$ git push origin ${release_version}-${rc_version}
 ```
 
 ### 打包二进制包
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/images/branch.png 
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/images/branch.png
new file mode 100644
index 0000000000..22e6495f81
Binary files /dev/null and 
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/images/branch.png 
differ

Reply via email to