Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-vuecli3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lhfe
mould-vuecli3
Commits
62fa379b
Commit
62fa379b
authored
Aug 31, 2020
by
lipengcheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: 完善文档
发版流程相关的文档
parent
825a8d1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
README.md
README.md
+17
-2
No files found.
README.md
View file @
62fa379b
...
...
@@ -69,12 +69,27 @@ npm run prettier
### 分支说明
###
操作
流程
###
开发
流程
### 代码规范
1.
任何人本地出现代码格式相关校验的出错,不得强制忽略或者提交,必须在本地处理完再提交。
2.
### 发版流程
1.
切换到master分支并且执行
`git pull`
更新代码
2.
将测试完成要发版的分支合并到master分支
3.
通过
`standard-version`
执行相关命令,自动更新
`package.json`
中的版本号,更新
`changelog`
,同时打版到master分支:
第一个版本,需要根据当前package.json中的版本初始化tag及changelog:`yarn release:init`;
更新修订版本号:`yarn release:patch`
更新次版本号:`yarn release:minor`
更新主版本号:`yarn release:major`
4.
推送当前分支上的版本号到远程仓库:
`git push origin --tags`
> 版本号一般为3位:x.x.x,每一位对应的含义分别是major主版本号、monor次版本号、patch修订版本号。
## 相关指南
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment