Skip to content

Commit

Permalink
version.h: update version policy info according to implementation of …
Browse files Browse the repository at this point in the history
…get_version_suffix() function in make_translation.py
  • Loading branch information
ia committed Jul 8, 2023
1 parent 687f587 commit e9ee805
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions source/version.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
/**
* Firmware build version - format: xx.yy.zzzzzzzz
* x: Major - y: Minor - z: git short hash generated automaticaly from git
* i.e.: BUILD_VERSION = 'v2.08' --> Will generated to: 'v2.08.1a2b3c4d'
* Firmware build version - format: xx.yy+[.zzzzzzz]
*
* x: major version
* y: minor version
* +: build type:
* * R - git-related release tag 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)
*
* vX.MN - means stable release version with a related git release tag
* vX.M(N+1)d - means a version under development with next rel.ver. X.M(N+1)
* i.e.:
* BUILD_VERSION = 'v2.21' --> Stable release
* BUILD_VERSION = 'v2.22d' --> Devel. for the next stable release of 2.22
* * 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.22d"
#define BUILD_VERSION "v2.22"

0 comments on commit e9ee805

Please sign in to comment.