diff options
author | Ivan Zorin <[email protected]> | 2023-07-10 02:58:24 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-10 09:58:24 +1000 |
commit | cd7696b66f33b75409b236c64631540b8c05a3e6 (patch) | |
tree | 32f113d84c706ccdb638325d89a438337c160107 /source | |
parent | 552b582bcbcb41c686eccf335d910e8420429bb2 (diff) | |
download | IronOS-cd7696b66f33b75409b236c64631540b8c05a3e6.tar.gz IronOS-cd7696b66f33b75409b236c64631540b8c05a3e6.zip |
Suggestion to update BUILD_VERSION policy (#1733)
* version.h: update BUILD_VERSION policy / PoC
* Fix misplaced chars
* make_translation.py: implement get_version_suffix() function to extend BUILD_VERSION build type legend data
* version.h: update version policy info according to implementation of get_version_suffix() function in make_translation.py
* Version policy update: add double-check for release tag so if version doesn't match use another letter T
* make_translation.py: fix extra tabulation
* version.h: tiny tidy update for version format
* Documentation/DebugMenu.md: update info on version line & date
* Documentation/DebugMenu.md: fix formatting & mistypes
---------
Co-authored-by: discip <[email protected]>
Diffstat (limited to 'source')
-rw-r--r-- | source/version.h | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/source/version.h b/source/version.h index b22c9f0f..74ffad74 100644 --- a/source/version.h +++ b/source/version.h @@ -1,7 +1,24 @@ /** - * Firmware build version - format: xx.yy.zzzzzz - * x: Major - y: Minor - z: git short hash generated automaticaly from git - * i.e.: BUILD_VERSION = 'Rel. v2.08' --> Will generated to: 'v2.08.1a2b3c4' + * Firmware build version - format: xx.yy+[.zzzzzzzz] + * + * x: major version + * y: minor version + * +: build type: + * * R - git-related release tag vXX.YY + * * T - git-related release tag but version is not vXX.YY ! + * * D - git-related dev branch + * * B - git-related custom branch + * * G - neither above but git-related + * * H - build outside of a git tree (i.e. release tarball) + * * S - something special (should not happen?) + * * V - something very special (should not happen!) + * z: short commit ID hash generated automaticaly from git + * * (for git-related build types only) + * + * i.e.: + * * BUILD_VERSION = 'v2.22' -> from tarball: 'v2.22H' + * * BUILD_VERSION = 'v2.22' -> from git dev branch: 'v2.22D.1A2B3C4D' + * * BUILD_VERSION = 'v2.22' -> from stable git release: 'v2.22R.5E6F7G8H' */ -#define BUILD_VERSION "v2.21" +#define BUILD_VERSION "v2.22" |