Files
spring-lock/doc/发布流程.md
2020-09-03 09:41:55 +08:00

47 lines
701 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 文档说明
本文档用于说明当前项目如何进行发布。
# 发布流程
## push to mvn center
```
mvn clean deploy -P release
```
## commit to github
```
git push
```
## merge to master
```
git checkout master
git pull
git checkout branch
git rebase master (用rebase合并主干的修改如果有冲突在此时解决)
git checkout master
git merge branch
git push
```
## create new branch & checkout
```
git branch release_XXX
git checkout release_XXX
```
## modify project version
```
mvn versions:set -DgroupId=com.github.houbb -DartifactId=paradise* -DoldVersion=1.1.2 -DnewVersion=1.1.3-SNAPSHOT-->
mvn -N versions:update-child-modules
mvn versions:commit
```