开发版本编号为应用程序 [英] Develop Version Numbering for an Application
问题描述
首先,我认为这个论坛是不适合我的问题,所以如果是在错误的地方,请原谅,并放置在适当。我没有找到我的问题适当的论坛。
Firstly, I think this forum is not appropriate for my question, so if it is in wrong place, kindly forgive and place wherever appropriate. I didn't find proper forum for my question.
我公司开发的C#应用程序(赢表格)。现在我需要处理它的版本号。我不能让一下什么是做的最好的方式。我想要的版本号是简单的像1.2或1.2.1。我读SVN版本,但在此阶段,似乎有点混乱。有不同的版本类型的应用程序 - 1的安装程序,以及1没有安装
I have developed a C# application (Win Forms). Now I need to handle its version numbering. I can't make out what is the best way to do. I want the version number to be simple something like 1.2 or 1.2.1. I read about SVN Version, but that also seems little confusing at this stage. There are different version types for the application - 1 with the installer , and 1 without installer.
我觉得发行版本和开发版本应该是相同的 - 请更正我,如果我错了。它应该被自动处理或手动更改?什么是最好的,简单易用的方式来处理应用程序的版本号。
I think the release version and the development version should be the same - please correct me if I am wrong. Should it be handled automatically or change manually? What are the best, simple and easy way to handle version numbering of an application.
推荐答案
我们使用MAJOR.MINOR [.build [.revision]。我们给的语义:
We use major.minor[.build[.revision]]. And we give the semantics of:
主要=主要版本。 (大样的变化,甚至与UI刷新)。
小调=为介质组更改。 (也许新的内部流程或引擎的重构)
major = major version. (Kind of big changes, maybe even with UI refresh). minor = as medium set of changes. (maybe new internal processes or engines' refactoring).
对于构建和修正:
0 - 手段它的alpha阶段
1 - 贝塔
2 - 候选发布
3 - 生产
0 - Means its alpha stage.
1 - Beta.
2 - Release candidate.
3 - Production.
所以,如果您的应用程序对3.2.1.0。你知道你是在3.2版本的alpha阶段。等等。
So, if your app its on 3.2.1.0. You know you're at the alpha stage of the 3.2 version. And so on.
请注意:尽管它可能看起来有点大,包括我们发现这是一个很好的做法,因为如果我们发现了一些错误或意外行为,我们刚修好和增量修订的修订不建立。
NOTE: Although it may seems kinda large to include the revision we found it to be a good practice because if we found some bug or unexpected behavior we just fix and increment revision and not build.
这篇关于开发版本编号为应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!