如何命名我的构建?
命名我的修订的正确方法是什么?
v1.0.3.20 Alpha
或者
Alpha v1.0.3.20
What is the proper way to name my revisions?
v1.0.3.20 Alpha
or
Alpha v1.0.3.20
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
确实没有任何“正确”的方法。虽然大多数人使用点模式“xxx”,但这不一定是正确的方法。同样,对于你的问题,这取决于你。
我认为前者更自然,而且我更喜欢它,但无论哪种方式都并不重要。
There isn't really any "proper" way. While most people use the dot pattern "x.x.x", it isn't necessarily the proper way to do it. Likewise with your question, it is up to you.
I would suppose that the former is more natural to say, and I would prefer it, but it doesn't really matter either way.
那里有两条信息:版本号和发布状态/质量。两者可能联系在一起,但并非必须如此。例如,单个版本号可以有多个“版本”:v1.1-alpha、v1.1-beta、v1.1-final 等等;或者您可以将它们分解为单独的数字:v1.0.1-alpha、v1.0.2-beta、v1.1.0-final;或者完全不同的东西!
这实际上是一个品牌问题。由于不同产品对版本信息的广泛解释,您必须知道每个不同产品如何使用它们来理解它。当然,如果您正在为另一个项目做出贡献、参与或模仿另一个项目:就做他们所做的事情。它会更简单并减少混乱。
正如我的示例中所使用的,我更喜欢“nn..-quality”,但这只是语法。
You have two pieces of information there: version number and release state/quality. The two might be tied together, but don't have to be. For example, you could have multiple "releases" for a single version number: v1.1-alpha, v1.1-beta, v1.1-final, and so forth; or you could break those down into individual numbers: v1.0.1-alpha, v1.0.2-beta, v1.1.0-final; or something entirely different!
This is really a question of branding more than anything; due to the wide interpretation of version info across different products, you already have to know how each different product uses them to make sense of it. Of course, if you're contributing to, working with, or emulating another project: do what they do. It'll be simpler and lead to less confusion.
As used in my examples, I'd prefer "n.n...-quality", but it's only syntax.