This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang 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 0d1ef75d8c0 Document : refactor the release document (#28745)
0d1ef75d8c0 is described below
commit 0d1ef75d8c0e9e76a29a98223d4e404830ffa240
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Fri Oct 13 07:39:44 2023 +0800
Document : refactor the release document (#28745)
---
docs/community/content/involved/release/shardingsphere.cn.md | 6 +++---
docs/community/content/involved/release/shardingsphere.en.md | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/community/content/involved/release/shardingsphere.cn.md
b/docs/community/content/involved/release/shardingsphere.cn.md
index 404ea6dad51..a8f152fe9cb 100644
--- a/docs/community/content/involved/release/shardingsphere.cn.md
+++ b/docs/community/content/involved/release/shardingsphere.cn.md
@@ -229,7 +229,7 @@ export GPG_TTY=$(tty)
```
```shell
-./mvnw release:prepare -Prelease -Darguments="-DskipTests
-Dspotless.apply.skip=true" -DautoVersionSubmodules=true -DdryRun=true
-Dusername=${Github用户名}
+./mvnw release:prepare -Prelease -Darguments="-DskipTests"
-DautoVersionSubmodules=true -DdryRun=true -Dusername=${Github用户名}
```
-Prelease:选择 release 的 profile,这个 profile 会打包所有源码、jar 文件以及
ShardingSphere-Proxy 的可执行二进制包。
@@ -247,7 +247,7 @@ export GPG_TTY=$(tty)
```
```shell
-./mvnw release:prepare -Prelease -Darguments="-DskipTests
-Dspotless.apply.skip=true" -DautoVersionSubmodules=true -DpushChanges=false
-Dusername=${Github 用户名}
+./mvnw release:prepare -Prelease -Darguments="-DskipTests"
-DautoVersionSubmodules=true -DpushChanges=false -Dusername=${Github 用户名}
```
和上一步演练的命令基本相同,去掉了 -DdryRun=true 参数。
@@ -266,7 +266,7 @@ git push origin ${RELEASE.VERSION}
使用稳定的网络环境,本过程可能持续`1`个小时以上。
```shell
-./mvnw release:perform -Prelease -Darguments="-DskipTests
-Dspotless.apply.skip=true" -DautoVersionSubmodules=true -DlocalCheckout=true
-Dusername=${Github 用户名}
+./mvnw release:perform -Prelease -Darguments="-DskipTests"
-DautoVersionSubmodules=true -DlocalCheckout=true -Dusername=${Github 用户名}
```
-DlocalCheckout=true:从本地 checkout 代替从远程仓库拉取代码。
diff --git a/docs/community/content/involved/release/shardingsphere.en.md
b/docs/community/content/involved/release/shardingsphere.en.md
index c78bdaf33a7..0204f257dc6 100644
--- a/docs/community/content/involved/release/shardingsphere.en.md
+++ b/docs/community/content/involved/release/shardingsphere.en.md
@@ -231,7 +231,7 @@ export GPG_TTY=$(tty)
```
```shell
-./mvnw release:prepare -Prelease -Darguments="-DskipTests
-Dspotless.apply.skip=true" -DautoVersionSubmodules=true -DdryRun=true
-Dusername=${Github username}
+./mvnw release:prepare -Prelease -Darguments="-DskipTests"
-DautoVersionSubmodules=true -DdryRun=true -Dusername=${Github username}
```
-Prelease: choose release profile, which will pack all the source codes, jar
files and executable binary packages of ShardingSphere-Proxy.
@@ -251,7 +251,7 @@ First, clean local pre-release check information.
Then, prepare to execute the release.
```shell
-./mvnw release:prepare -Prelease -Darguments="-DskipTests
-Dspotless.apply.skip=true" -DautoVersionSubmodules=true -DpushChanges=false
-Dusername=${Github username}
+./mvnw release:prepare -Prelease -Darguments="-DskipTests"
-DautoVersionSubmodules=true -DpushChanges=false -Dusername=${Github username}
```
It is basically the same as the previous rehearsal command, but deleting
-DdryRun=true parameter.
@@ -267,7 +267,7 @@ git push origin ${RELEASE.VERSION}
### 4. Deploy the Release
```shell
-./mvnw release:perform -Prelease -Darguments="-DskipTests
-Dspotless.apply.skip=true" -DautoVersionSubmodules=true -DlocalCheckout=true
-Dusername=${Github username}
+./mvnw release:perform -Prelease -Darguments="-DskipTests"
-DautoVersionSubmodules=true -DlocalCheckout=true -Dusername=${Github username}
```
-DlocalCheckout=true: checkout code from local repository instead of remote
repository.