fw version in json

This commit is contained in:
MX 2023-04-21 09:46:48 +03:00
parent 7747f45be3
commit e8bd435fe3
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -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)