mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-14 08:47:13 +00:00
fw version in json
This commit is contained in:
parent
7747f45be3
commit
e8bd435fe3
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ class Main(App):
|
|||
"firmware_commit": current_info["GIT_COMMIT"],
|
||||
"firmware_branch": current_info["GIT_BRANCH"],
|
||||
"firmware_target": current_info["TARGET"],
|
||||
"firmware_version": current_info["VERSION"],
|
||||
}
|
||||
with open(version_json_name, "w", newline="\n") as file:
|
||||
json.dump(version_json, file, indent=4)
|
||||
|
|
Loading…
Reference in a new issue