You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by su...@apache.org on 2022/10/14 08:57:35 UTC
[shardingsphere] branch master updated: Update document about updating charts version in release document (#21563)
This is an automated email from the ASF dual-hosted git repository.
sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 67362dc2959 Update document about updating charts version in release document (#21563)
67362dc2959 is described below
commit 67362dc29593be4212795a292ff6510dbb1301ee
Author: Zhengqiang Duan <du...@apache.org>
AuthorDate: Fri Oct 14 16:57:26 2022 +0800
Update document about updating charts version in release document (#21563)
* Update document about updating charts version in release document
---
.../involved/release/shardingsphere-on-cloud.cn.md | 22 ++++++++++++------
.../involved/release/shardingsphere-on-cloud.en.md | 26 ++++++++++++++--------
2 files changed, 32 insertions(+), 16 deletions(-)
diff --git a/docs/community/content/involved/release/shardingsphere-on-cloud.cn.md b/docs/community/content/involved/release/shardingsphere-on-cloud.cn.md
index a425be4b831..0d63d4032a7 100644
--- a/docs/community/content/involved/release/shardingsphere-on-cloud.cn.md
+++ b/docs/community/content/involved/release/shardingsphere-on-cloud.cn.md
@@ -160,16 +160,27 @@ git pull
git checkout -b ${RELEASE.VERSION}-release
git push origin ${RELEASE.VERSION}-release
```
+
### 2. 更新 charts 版本
-### 2. 打包 charts
+
+在发布分支上更新 `Chart.yaml` 文件中的版本:
+
+```
+~/shardingsphere-on-cloud/charts/shardingsphere-operator/Chart.yaml
+~/shardingsphere-on-cloud/charts/shardingsphere-operator-cluster/Chart.yaml
+~/shardingsphere-on-cloud/charts/shardingsphere-proxy/Chart.yaml
+```
+
+将 `version` 修改为 `${RELEASE.VERSION}`,`appVersion` 修改为对应的应用版本,并提交 PR 到发布分支。
+
+### 3. 打包 charts
+
```shell
cd ~/shardingsphere-on-cloud/charts
helm package --sign --key ${用户名} --keyring /.gnupg/secring.gpg `变动的 charts`
```
-
-
-### 3. 更新下载页面
+### 4. 更新下载页面
更新如下页面:
* <https://shardingsphere.apache.org/document/current/en/downloads/>
@@ -177,9 +188,6 @@ helm package --sign --key ${用户名} --keyring /.gnupg/secring.gpg `变动的
GPG 签名文件和哈希校验文件的下载连接应该使用这个前缀:`https://downloads.apache.org/shardingsphere/`。
-
-
-
## 发布 Apache SVN 仓库
### 1. 检出 ShardingSphere 发布目录
diff --git a/docs/community/content/involved/release/shardingsphere-on-cloud.en.md b/docs/community/content/involved/release/shardingsphere-on-cloud.en.md
index 41dc860a434..cbda108372a 100644
--- a/docs/community/content/involved/release/shardingsphere-on-cloud.en.md
+++ b/docs/community/content/involved/release/shardingsphere-on-cloud.en.md
@@ -129,7 +129,7 @@ sub 4096R/0B7EF5B2 2019-03-20
Among them, 700E6065 is public key ID.
-### 4. export v1 version secret
+### 4. Export v1 version secret
``` shell
gpg --export >~/.gnupg/pubring.gpg
@@ -162,16 +162,26 @@ git pull
git checkout -b ${RELEASE.VERSION}-release
git push origin ${RELEASE.VERSION}-release
```
-### 2. update charts version
-### 2. package charts
+### 2. Update charts version
+
+Update the version in `Chart.yaml` file in release branch:
+
+```
+~/shardingsphere-on-cloud/charts/shardingsphere-operator/Chart.yaml
+~/shardingsphere-on-cloud/charts/shardingsphere-operator-cluster/Chart.yaml
+~/shardingsphere-on-cloud/charts/shardingsphere-proxy/Chart.yaml
+```
+
+Modify `version` to `${RELEASE.VERSION}`, `appVersion` to the corresponding application version, and submit a PR to release branch.
+
+### 3. Package charts
+
```shell
cd ~/shardingsphere-on-cloud/charts
helm package --sign --key ${GPG username} --keyring /.gnupg/secring.gpg `changed charts`
```
-
-
-### 3. Update the download page
+### 4. Update the download page
Update the following pages:
* <https://shardingsphere.apache.org/document/current/en/downloads/>
@@ -179,9 +189,6 @@ Update the following pages:
GPG signatures and hashes (SHA* etc) should be prefixed with: `https://downloads.apache.org/shardingsphere/`。
-
-
-
### Apache SVN Repository Release
**1. Checkout ShardingSphere Release Directory**
@@ -194,6 +201,7 @@ cd ~/ss_svn/dev/
```
After the creation, checkout ShardingSphere release directory from Apache SVN.
+
```shell
svn --username=${APACHE LDAP username} co https://dist.apache.org/repos/dist/dev/shardingsphere
cd ~/ss_svn/dev/shardingsphere/charts