mirror of
https://github.com/SlimeVR/SlimeVR-Tracker-ESP.git
synced 2026-04-06 02:01:57 +02:00
Fix firmware version detection
This commit is contained in:
@@ -44,7 +44,7 @@ output = f"'-DGIT_REV=\"{revision}\"'"
|
||||
|
||||
if tag != "":
|
||||
output += f" '-DFIRMWARE_VERSION=\"{tag}\"'"
|
||||
if tag == "" and branch != "":
|
||||
elif branch != "":
|
||||
output += f" '-DFIRMWARE_VERSION=\"{branch}\"'"
|
||||
else:
|
||||
output += f" '-DFIRMWARE_VERSION=\"git-{revision}\"'"
|
||||
|
||||
Reference in New Issue
Block a user