@ -166,10 +166,8 @@ git push origin "${VERSION}"-release
### Pre-Release Check
### Pre-Release Check
```shell
```shell
# make gpg command could be run in maven correct
export GPG_TTY=$(tty)
mvn release:prepare -Prelease,python -Darguments="-Dmaven.test.skip=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true" -DautoVersionSubmodules=true -DdryRun=true -Dusername="${GH_USERNAME}"
mvn release:prepare -Prelease,python -Darguments="-Dmaven.test.skip=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dspotless.check.skip=true" -DautoVersionSubmodules=true -DdryRun=true -Dusername="${GH_USERNAME}"
```
```
* `-Prelease,python` : choose release and python profile, which will pack all the source codes, jar files and executable binary packages, and Python distribute package.
* `-Prelease,python` : choose release and python profile, which will pack all the source codes, jar files and executable binary packages, and Python distribute package.
@ -187,7 +185,8 @@ mvn release:clean
Then, prepare to execute the release.
Then, prepare to execute the release.
```shell
```shell
mvn release:prepare -Prelease,python -Darguments="-Dmaven.test.skip=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true" -DautoVersionSubmodules=true -DpushChanges=false -Dusername="${GH_USERNAME}"
mvn release:prepare -Prelease,python -Darguments="-Dmaven.test.skip=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dspotless.check.skip=true" -DautoVersionSubmodules=true -DpushChanges=false -Dusername="${GH_USERNAME}"
```
```
It is basically the same as the previous rehearsal command, but deleting `-DdryRun=true` parameter.
It is basically the same as the previous rehearsal command, but deleting `-DdryRun=true` parameter.
@ -219,7 +218,8 @@ git push origin --tags
### Deploy the Release
### Deploy the Release
```shell
```shell
mvn release:perform -Prelease,python -Darguments="-Dmaven.test.skip=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true" -DautoVersionSubmodules=true -Dusername="${GH_USERNAME}"
< < < < < < < HEAD
mvn release:perform -Prelease,python -Darguments="-Dmaven.test.skip=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dspotless.check.skip=true" -DautoVersionSubmodules=true -Dusername="${GH_USERNAME}"
```
```
After that command is executed, the version to be released will be uploaded to Apache staging repository automatically.
After that command is executed, the version to be released will be uploaded to Apache staging repository automatically.