Some tools force developers to adopt a version scheme of a certain form, form instance "major.minor.build.revision", where each field must be a number.

How do I fit in betas in there? For instance, what version should I choose for version "2.0 beta2"? Should it be of the form "1.99.x.y" (it's not yet 2.0 stable) or "2.0.x.y" (2.0 beta introduces breaking changes with 1.x).

3 Answers 3


If you are stuck with purely numeric revisions you could make odd minor revisions release betas for the corresponding major which has a even minor number, e.g.

Beta : 1.3.11.df41a

Release : 1.4.1.df41a

The beta for 2.0 could then be any of 1.9, 1.11, ...

  • This convention has been adopted by several high-profile Free/Open Source projects (e.g., the Linux kernel), so I'd strongly recommend at least considering it, on the basis that developers are likely to be familiar with it. Commented Oct 7, 2011 at 12:06

in the example of "major.minor.build.revision" we abandoned the revision number and use the latest to indicate a beta (where beta would mean "not fully tested"): -> normal release -> beta release

Now I hear you say "what?? no revision number? how do you track bugs then", as I know people/companies sometimes tend to match the "revision" number with their VCS especially when using svn. At least two options: get rid of the build number instead and keep the revision (do you really need more than major.minor for the actual version?), or what we do is tag the repository with the version number for each release which is the other way around but has the same effect + we feel clients shouldn't need to know what the amount of commits in a VCS is.

  • In your example, does the beta release follow the normal release or precede it?
    – Joh
    Commented Oct 7, 2011 at 7:28
  • beta follows it, it would be really weird if a higher number would preced a lower one. would be the beta for 1.2.2 or 1.3.0
    – stijn
    Commented Oct 7, 2011 at 7:36
  • What disturbs me a bit is that what we call "1.3 beta 2" is the 2nd beta that precedes 1.3. With your numbering scheme, it would be called "". If I use "" instead, I get the weird effect that "" is before the final "".
    – Joh
    Commented Oct 7, 2011 at 9:00
  • that's true, but there's not really a lot of choice if you have to use numeric only.. Just pick a convention and stick to it. Customers don't care a lot about the numbers, so if everyone in the company knows what it means it's ok.
    – stijn
    Commented Oct 7, 2011 at 9:24

You could modify the practice of Major.Minor.Build.Revision to something more like Major.Minor.Release.Revision. See examples: - First Release - Beta build approaching second release - Next release - Beta build approaching third release - Third release


  • How do I know if is the first, second... beta before Moreover how do I distinguish between a bugfix release and a beta of ?
    – Joh
    Commented Oct 7, 2011 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.