Skip to content

Commit

Permalink
Improve release document (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
EricJoy2048 authored Oct 11, 2023
1 parent 977785e commit 7b2d562
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions community/contribution_guide/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,12 @@ git push
### Precompiled test
```bash
mvn release:prepare -Prelease -Darguments="-DskipTests" -DdryRun=true -Dusername=${GITHUB USERNAME}
mvn release:prepare -Prelease -Darguments="-DskipTests -Dskip.spotless=true" -DdryRun=true -Dusername=${GITHUB USERNAME}
```
### Compile
```bash
mvn release:clean
mvn release:prepare -Prelease -Darguments="-DskipTests" -DpushChanges=false -Dusername=${GITHUB USERNAME}
mvn release:prepare -Prelease -Darguments="-DskipTests -Dskip.spotless=true" -DpushChanges=false -Dusername=${GITHUB USERNAME}
```
### Submit source code
Expand All @@ -235,7 +235,7 @@ git push origin --tags
- Upload jar packages
```bash
mvn release:perform -Prelease -Darguments="-DskipTests" -Dusername=${GITHUB USERNAME}
mvn release:perform -Prelease -Darguments="-DskipTests -Dskip.spotless=true" -Dusername=${GITHUB USERNAME}
```
Note: During the execution of this command, ensure that the IP address remains constant; otherwise, multiple unusable repositories might appear in stagingRepositories.
Expand Down

0 comments on commit 7b2d562

Please sign in to comment.