aboutsummaryrefslogtreecommitdiff
path: root/libbutl/standard-version.mxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/standard-version.mxx')
-rw-r--r--libbutl/standard-version.mxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/libbutl/standard-version.mxx b/libbutl/standard-version.mxx
index 5f019c4..7b1f232 100644
--- a/libbutl/standard-version.mxx
+++ b/libbutl/standard-version.mxx
@@ -48,6 +48,25 @@ LIBBUTL_MODEXPORT namespace butl
// [+<epoch>-]<maj>.<min>.<patch>-
// 0[+<revision>]
//
+ // The numeric version format is AAABBBCCCDDDE where:
+ //
+ // AAA - major version number
+ // BBB - minor version number
+ // CCC - patch version number
+ // DDD - alpha / beta (DDD + 500) version number
+ // E - final (0) / snapshot (1)
+ //
+ // When DDDE is not 0, 1 is subtracted from AAABBBCCC. For example:
+ //
+ // Version AAABBBCCCDDDE
+ //
+ // 0.1.0 0000010000000
+ // 0.1.2 0000010010000
+ // 1.2.3 0010020030000
+ // 2.2.0-a.1 0020019990010
+ // 3.0.0-b.2 0029999995020
+ // 2.2.0-a.1.z 0020019990011
+ //
struct LIBBUTL_SYMEXPORT standard_version
{
// Invariants: