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

建议版本号从 0.1.0 开始 #1

Closed
Colerar opened this issue Aug 31, 2022 · 2 comments
Closed

建议版本号从 0.1.0 开始 #1

Colerar opened this issue Aug 31, 2022 · 2 comments

Comments

@Colerar
Copy link

Colerar commented Aug 31, 2022

参见:https://semver.org

How should I deal with revisions in the 0.y.z initial development phase?

The simplest thing to do is start your initial development release at 0.1.0 and then increment > the minor version for each subsequent release.

@rsuu
Copy link
Owner

rsuu commented Sep 2, 2022

目前还有一个文件元数据处理的功能没有实现
搞定后就可以进入 0.1 的阶段了

0.0 的版本号用于表示处于开发阶段 随时可能暴毙

@Colerar
Copy link
Author

Colerar commented Sep 2, 2022

好吧,仅作建议。但若不遵守 semver 会造成很多麻烦。

Cargo 也非常建议使用 SemVer,尽管不是硬性指标。

0.x.x 都表示在开发阶段。第三个版本号叫 PATCH version,一般是表示修 bug 的。所以,开发的第一个版本都是从 0.1.0 开始。看你目前的 Release 情况,可能实际上用 0.1.0-nightly-日期 会更好。

虽说本 repo 不是库而是应用,也可以自定义版本号,如常见的 年份.功能版本.修复版本 等。但与其自定义一套,不如简单拿着 SemVer 来用,避免反复造标准。

以上,这个 issue 就先 close 吧。

@Colerar Colerar closed this as completed Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants