mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2025-10-11 07:32:34 +02:00
fw version in json
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user