Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

版本号规则更新 #81

Closed
zsxsoft opened this issue Jun 1, 2016 · 0 comments
Closed

版本号规则更新 #81

zsxsoft opened this issue Jun 1, 2016 · 0 comments

Comments

@zsxsoft
Copy link
Contributor

zsxsoft commented Jun 1, 2016

自该版本起,不再使用1.X XXXX Build BuildDate作为版本号。

新版本号:0.0.0.0(SOMETHING)

释义

  1. 第一个0代表大版本号。一般情况下,当有更新改动了系统主要结构以至于难以处理向下兼容则+1。
  2. 第二个0代表小版本号。允许大于9的数字。一般情况下,每年更新一次。
  3. 第三个0代表修订版本号。每次有更新时+1.
  4. 第四个0代表最大Commit记录。获取方式为【git log --pretty=oneline | wc -l
  5. SOMETHING代表版本代号。如,1.4为Deeplue。

举例

目前1.4的版本号为:1.4.8.1320(Deeplue)

在前台显示为Z-BlogPHP 1.4 Deeplue

在后台首页显示为Z-BlogPHP 1.4.8.1320(Deeplue)

@zsxsoft zsxsoft added this to the 1.5 milestone Jun 1, 2016
zsxsoft added a commit that referenced this issue Jun 2, 2016
zsxsoft added a commit that referenced this issue Jun 2, 2016
@zsxsoft zsxsoft closed this as completed Jun 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant