devel-versioning.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 19 Aug 2011 00:17:19 +0300
changeset 948 23cb71bb2b5d
parent 947 1c8a139fc25d
child 949 57b995de80b5
permissions -rw-r--r--
Versioning formula.

=================
 Version format.
=================
.. contents::

Release build version data.
===========================

 * Build number.
 * Build date.
 * Build version.
 * Branch-tag used.
 * Overnight build (Y/N).
 * QA tested (Y/N).
 * QA test results (Pass/Fail).
 * Location of full logs.

Versioning formula.
===================

if (A.major != B.major) return A.major > B.major;
if (A.minor != B.minor) return A.minor > B.minor;
if (A.patch != B.patch) return A.patch > B.patch;
if (A.special == B.special) return 0;
if (A.special == "") return 1;
if (B.special == "") return -1;
return A.special > B.special;

Reference.
==========

  https://developer.mozilla.org/en/toolkit_version_format
                Toolkit version format
  http://apr.apache.org/versioning.html
                APR's Version Numbering
  http://semver.org/
                Semantic Versioning