mirror of
https://github.com/SlimeVR/SlimeVR-Tracker-ESP.git
synced 2026-04-06 02:01:57 +02:00
create a fake version 0.7.0 version
due some problems in the actual 0.7.0 version and no good possiblitys to stop firmware updates on the clients make a fake 0.7.0 version from the version 0.6.3
This commit is contained in:
@@ -36,11 +36,12 @@ except Exception:
|
||||
|
||||
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}\"'"
|
||||
#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'"
|
||||
|
||||
print(output)
|
||||
|
||||
Reference in New Issue
Block a user