diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index bff4123e2..78c22e302 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -109,7 +109,7 @@ Tip: you can use `--versions` to list all available versions. ### 全量打包 * arthas是用sphinx来生成静态网站 -* 在site/pom.xml里配置了`sphinx-maven-plugin` +* 在`site/pom.xml`里配置了`sphinx-maven-plugin` * `sphinx-maven-plugin`通过下载`sphinx-binary/`来执行 * sphinx配置的`recommonmark`插件有bug:https://github.com/rtfd/recommonmark/issues/93 ,因此另外打包了一个修复版本: https://github.com/hengyunabc/sphinx-binary/releases/tag/v0.4.0.1 * 全量打包时,需要配置下面的参数(目前只支持mac/linux): @@ -118,5 +118,13 @@ Tip: you can use `--versions` to list all available versions. ./mvnw clean package -DskipTests -P full -Dsphinx.binUrl=https://github.com/hengyunabc/sphinx-binary/releases/download/v0.4.0.1/sphinx.osx-x86_64 ``` +### Release Steps +发布release版本流程: + +* 修改`as.sh`里的版本 +* 修改本地的maven settings.xml +* mvn release:prepare -Darguments="-DskipTests" +* mvn release:perform -Darguments="-DskipTests -P full -Dsphinx.binUrl=https://github.com/hengyunabc/sphinx-binary/releases/download/v0.4.0.1/sphinx.osx-x86_64" +* 到 https://oss.sonatype.org/ 上,“Staging Repositories”然后close掉自己的,再release