mirror of
https://github.com/SlimeVR/SlimeVR-Tracker-ESP.git
synced 2026-04-06 02:01:57 +02:00
second try
This commit is contained in:
@@ -35,13 +35,12 @@ except Exception:
|
||||
branch = ""
|
||||
|
||||
output = f"-DGIT_REV='\"{revision}\"'"
|
||||
|
||||
#if tag != "":
|
||||
# output += f" -DFIRMWARE_VERSION='\"{tag}\"'"
|
||||
#elif branch != "":
|
||||
# output += f" -DFIRMWARE_VERSION='\"{branch}\"'"
|
||||
#else:
|
||||
# output += f" -DFIRMWARE_VERSION='\"git-{revision}\"'"
|
||||
output += f" -DFIRMWARE_VERSION='v0.7.0'"
|
||||
tag = "0.7.0"
|
||||
if tag != "":
|
||||
output += f" -DFIRMWARE_VERSION='\"{tag}\"'"
|
||||
elif branch != "":
|
||||
output += f" -DFIRMWARE_VERSION='\"{branch}\"'"
|
||||
else:
|
||||
output += f" -DFIRMWARE_VERSION='\"git-{revision}\"'"
|
||||
|
||||
print(output)
|
||||
|
||||
Reference in New Issue
Block a user