add release steps doc

This commit is contained in:
hengyunabc
2018-12-07 11:24:05 +08:00
parent f47596b2c2
commit 7218eb6d17
+9 -1
View File
@@ -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`插件有bughttps://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