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 <53649486+discip@users.noreply.github.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user