Now there is no convenient way to set the version number in the required format if we build SeaBIOS from the repository. It is proposed first of all to get the version number from the .version file if it exists, if it is absent, from git. This approach will allow you to safely specify the version manually and will not affect existing builds.
Alexey Kirillov (1): build: increase .version priority over git
scripts/buildversion.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-)