Files
MuditaOS/config/version.json.cmake_template
Borys Jelenski 1a26cdb407 [EGD-4527] Add creating update package as CMake target
Standalone and update packages can be generated by CMake targets. During
creation of update package, the bootloader will be downloaded
and included in the package along with version information.

Additionally, a small refactor was performed since the Version.cmake
script is now used for generating both the version.hpp and version.json
files. Observervable side effects from this script have been moved to
separate scripts which are invoked at build time.
2021-01-19 14:42:30 +01:00

30 lines
603 B
Plaintext

{
"git":
{
"git_branch": "@GIT_BRANCH@",
"git_commit": "@GIT_REV@",
"git_tag": "@GIT_TAG@"
},
"misc":
{
"codename": "@VERSION_CODENAME@",
"kernel": "@KERNEL_VERSION@",
"buildon": "@BUILD_HOST@",
"builddate": "@BUILD_DATE@",
"builduser": "@BUILD_USER@"
},
"version":
{
"major": "@CMAKE_PROJECT_VERSION_MAJOR@",
"minor": "@CMAKE_PROJECT_VERSION_MINOR@",
"patch": "@CMAKE_PROJECT_VERSION_PATCH@",
"string": "@CMAKE_PROJECT_VERSION@"
},
"bootloader":
{
"included": "@BOOTLOADER_INCLUDED@",
"version": "@BOOTLOADER_VERSION@",
"filename": "@BOOTLOADER_FILENAME@"
}
}