Skip to content

Commit

Permalink
[Improve] release docs improvement (#334)
Browse files Browse the repository at this point in the history
Co-authored-by: benjobs <[email protected]>
  • Loading branch information
wolfboys and benjobs authored Mar 5, 2024
1 parent 2c182df commit f2b3ceb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 36 deletions.
27 changes: 9 additions & 18 deletions community/release/How-to-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ git clone -b release-2.1.0-rc1 -c core.autocrlf=false [email protected]:apache/incu
```shell
mvn clean install \
-Pscala-2.11,shaded \
-Pscala-2.11 \
-DskipTests \
-Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
-pl 'streampark-common,streampark-flink,streampark-shaded' \
-pl 'streampark-common,streampark-flink' \
-pl '!streampark-console/streampark-console-service' \
-amd
```
Expand All @@ -271,11 +271,11 @@ mvn deploy \
```shell
mvn clean install \
-Pscala-2.12,shaded \
-Pscala-2.12 \
-DskipTests \
-Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
-pl 'streampark-common,streampark-flink,streampark-shaded' \
-pl 'streampark-common,streampark-flink' \
-pl '!streampark-console/streampark-console-service' \
-amd
```
Expand All @@ -288,15 +288,6 @@ mvn deploy \
-DretryFailedDeploymentCount=3
```
##### 3.3.3 Release shaded to the Apache Nexus repository
```shell
mvn clean install \
-DskipTests \
-Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true
```
```shell
mvn deploy \
-Papache-release \
Expand All @@ -305,9 +296,9 @@ mvn deploy \
-DretryFailedDeploymentCount=3
```
##### 3.3.4 Check for successful publishing to the Apache Nexus repository
##### 3.3.3 Check for successful publishing to the Apache Nexus repository
> Visit https://repository.apache.org/ and log in, if there are scala 2.11, scala 2.12, shaded packages, it means success.
> Visit https://repository.apache.org/ and log in, if there are scala 2.11, scala 2.12, it means success.
![图片](https://user-images.githubusercontent.com/19602424/236657233-08d142eb-5f81-427b-a04d-9ab3172199c1.png)
Expand All @@ -316,13 +307,13 @@ mvn deploy \
> Scala 2.11 compilation and packaging
```shell
mvn -Pscala-2.11,shaded,webapp,dist -DskipTests clean install
> ./build.sh # choose "mixed mode" and "scala 2.11"
```
> Scala 2.12 compilation and packaging
```shell
mvn -Pscala-2.12,shaded,webapp,dist -DskipTests clean install
> ./build.sh # choose "mixed mode" and "scala 2.12"
```
> Package the project source code
Expand Down Expand Up @@ -767,4 +758,4 @@ Best,
ChunJin Mu
```
This version release is over.
This version release is over.
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ git clone -b release-2.1.0-rc1 -c core.autocrlf=false [email protected]:apache/incu
```shell
mvn clean install \
-Pscala-2.11,shaded \
-Pscala-2.11 \
-DskipTests \
-Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
-pl 'streampark-common,streampark-flink,streampark-shaded' \
-pl 'streampark-common,streampark-flink' \
-pl '!streampark-console/streampark-console-service' \
-amd
```
Expand All @@ -271,11 +271,11 @@ mvn deploy \
```shell
mvn clean install \
-Pscala-2.12,shaded \
-Pscala-2.12 \
-DskipTests \
-Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true \
-pl 'streampark-common,streampark-flink,streampark-shaded' \
-pl 'streampark-common,streampark-flink' \
-pl '!streampark-console/streampark-console-service' \
-amd
```
Expand All @@ -288,15 +288,6 @@ mvn deploy \
-DretryFailedDeploymentCount=3
```
##### 3.3.3 发布shaded到Apache Nexus仓库
```shell
mvn clean install \
-DskipTests \
-Dcheckstyle.skip=true \
-Dmaven.javadoc.skip=true
```
```shell
mvn deploy \
-Papache-release \
Expand All @@ -305,9 +296,9 @@ mvn deploy \
-DretryFailedDeploymentCount=3
```
##### 3.3.4 检查是否成功发布到Apache Nexus仓库
##### 3.3.3 检查是否成功发布到Apache Nexus仓库
> 访问 https://repository.apache.org/ 并登录,如果有scala 2.11、scala 2.12、shaded包,说明发布成功。
> 访问 https://repository.apache.org/ 并登录,如果有scala 2.11、scala 2.12,说明发布成功。
![图片](https://user-images.githubusercontent.com/19602424/236657233-08d142eb-5f81-427b-a04d-9ab3172199c1.png)
Expand All @@ -316,13 +307,13 @@ mvn deploy \
> Scala 2.11 编译打包
```shell
mvn -Pscala-2.11,shaded,webapp,dist -DskipTests clean install
> ./build.sh # 选择 "mixed mode" 和 "scala 2.11"
```
> Scala 2.12 编译打包
```shell
mvn -Pscala-2.12,shaded,webapp,dist -DskipTests clean install
> ./build.sh # 选择 "mixed mode" 和 "scala 2.12"
```
> 打包项目源码
Expand Down Expand Up @@ -773,4 +764,4 @@ Best,
ChunJin Mu
```
该版本的发布顺利结束。
该版本的发布顺利结束。

0 comments on commit f2b3ceb

Please sign in to comment.