From 68aca29fd3012c829e3b0a54a796c11aa8c35c35 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 24 May 2019 18:02:14 +0300 Subject: Adapt version.hxx.in to increasing standard version major, minor, and patch max values up to 99999 --- cli/version.hxx.in | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'cli') diff --git a/cli/version.hxx.in b/cli/version.hxx.in index d5e8ff1..90a8cdc 100644 --- a/cli/version.hxx.in +++ b/cli/version.hxx.in @@ -5,25 +5,24 @@ #ifndef CLI_VERSION // Note: using the version macro itself. -// Note: using cli standard versioning scheme. The numeric version format -// is AAABBBCCCDDDE where: +// The numeric version format is AAAAABBBBBCCCCCDDDE where: // -// AAA - major version number -// BBB - minor version number -// CCC - bugfix version number -// DDD - alpha / beta (DDD + 500) version number -// E - final (0) / snapshot (1) +// AAAAA - major version number +// BBBBB - minor version number +// CCCCC - bugfix 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: +// When DDDE is not 0, 1 is subtracted from AAAAABBBBBCCCCC. For example: // -// Version AAABBBCCCDDDE +// Version AAAAABBBBBCCCCCDDDE // -// 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 +// 0.1.0 0000000001000000000 +// 0.1.2 0000000001000020000 +// 1.2.3 0000100002000030000 +// 2.2.0-a.1 0000200001999990010 +// 3.0.0-b.2 0000299999999995020 +// 2.2.0-a.1.z 0000200001999990011 // #define CLI_VERSION $cli.version.project_number$ULL #define CLI_VERSION_STR "$cli.version.project$" -- cgit v1.1