You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2022/06/08 09:09:40 UTC

[shardingsphere] branch master updated: Update documents about command arguments of release procedure (#18242)

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

panjuan 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 10b3f247b46 Update documents about command arguments of release procedure (#18242)
10b3f247b46 is described below

commit 10b3f247b4676619a3d5708c0c9edc89d6cb08e8
Author: 吴伟杰 <wu...@apache.org>
AuthorDate: Wed Jun 8 17:09:31 2022 +0800

    Update documents about command arguments of release procedure (#18242)
---
 docs/community/content/contribute/release.cn.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/community/content/contribute/release.cn.md b/docs/community/content/contribute/release.cn.md
index ea61af0e185..0438f095f5a 100644
--- a/docs/community/content/contribute/release.cn.md
+++ b/docs/community/content/contribute/release.cn.md
@@ -207,7 +207,7 @@ http://shardingsphere.apache.org/schema/shardingsphere/sharding/sharding-${RELEA
 **5. 发布预校验**
 
 ```shell
-mvn release:prepare -Prelease -Darguments="-DskipTests" -DautoVersionSubmodules=true -DdryRun=true -Dusername=${Github用户名}
+mvn release:prepare -Prelease -Darguments="-DskipTests -Dspotless.apply.skip=true" -DautoVersionSubmodules=true -DdryRun=true -Dusername=${Github用户名}
 ```
 
 -Prelease:选择 release 的 profile,这个 profile 会打包所有源码、jar 文件以及 ShardingSphere-Proxy 的可执行二进制包。
@@ -225,7 +225,7 @@ mvn release:clean
 ```
 
 ```shell
-mvn release:prepare -Prelease -Darguments="-DskipTests" -DautoVersionSubmodules=true -DpushChanges=false -Dusername=${Github 用户名}
+mvn release:prepare -Prelease -Darguments="-DskipTests -Dspotless.apply.skip=true" -DautoVersionSubmodules=true -DpushChanges=false -Dusername=${Github 用户名}
 ```
 
 和上一步演练的命令基本相同,去掉了 -DdryRun=true 参数。
@@ -242,7 +242,7 @@ git push origin --tags
 **7. 部署发布**
 
 ```shell
-mvn release:perform -Prelease -Darguments="-DskipTests" -DautoVersionSubmodules=true -Dusername=${Github 用户名}
+mvn release:perform -Prelease -Darguments="-DskipTests -Dspotless.apply.skip=true" -DautoVersionSubmodules=true -Dusername=${Github 用户名}
 ```
 
 执行完该命令后,待发布版本会自动上传到 Apache 的临时筹备仓库 (staging repository)。