mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-13 05:06:30 +04:00
fw version in json
This commit is contained in:
@@ -154,6 +154,7 @@ class Main(App):
|
|||||||
"firmware_commit": current_info["GIT_COMMIT"],
|
"firmware_commit": current_info["GIT_COMMIT"],
|
||||||
"firmware_branch": current_info["GIT_BRANCH"],
|
"firmware_branch": current_info["GIT_BRANCH"],
|
||||||
"firmware_target": current_info["TARGET"],
|
"firmware_target": current_info["TARGET"],
|
||||||
|
"firmware_version": current_info["VERSION"],
|
||||||
}
|
}
|
||||||
with open(version_json_name, "w", newline="\n") as file:
|
with open(version_json_name, "w", newline="\n") as file:
|
||||||
json.dump(version_json, file, indent=4)
|
json.dump(version_json, file, indent=4)
|
||||||
|
|||||||
Reference in New Issue
Block a user