初始版本使用什么? [英] What to use as an initial version?

查看:91
本文介绍了初始版本使用什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通常从1.0.0版本开始我的项目.一旦有了一些东西,我就以1.0.0版本发布并继续使用1.1.0版本.

I usually start my projects with a version 1.0.0. As soon as I have some stuff together, I release it as 1.0.0 and move on with 1.1.0.

但是,这会导致我编写的大多数内容都可用但不完全具有完整的版本1.0.0.然后,我添加功能并获得约1.6.0左右的体面版本.许多项目的版本从0.1.0开始,与我的1.0.0一样可用.

However, this leads to usable but not exactly feature complete version 1.0.0 of most stuff I write. I then add features and get to a decent version somewhere around 1.6.0. Many projects start with version 0.1.0, which will be as usable as my 1.0.0.

您建议做什么?以1.0.0或0.1.0开头?

What would you suggest doing? Start with 1.0.0 or 0.1.0?

最后一个数字仅是用于错误修复程序的版本.您可以将我的1.0.0视为1.0,将0.1.0视为0.1对您来说更容易.

The last number is for bugfix releases only by the way. You can think of my 1.0.0 as 1.0 and 0.1.0 as 0.1 is that's easier for you.

推荐答案

我的版本控制由安装程序驱动.我希望它替代旧版本,所以我会不断增加对我来说有意义的跳转.

My versioning is driven by the setup. I want it to replace older versions, so I keep increasing it in jumps that make sense to me.

但是,有时版本控制是由客户驱动的,特别是如果您要向公众发布代码.

Sometimes, however, versioning is driven by the customer, especially if you're releasing code to the public.

如果是您的电话,请执行最适合您的操作.我在1.0之前的版本中遇到了一些问题,因此我从此开始.

If it's your call, do whatever works best for you. I've had some issues with versions before 1.0 so I start with that.

这篇关于初始版本使用什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆