second try

This commit is contained in:
unlogisch04
2025-11-07 00:30:51 +01:00
parent 1db61af823
commit dc366d67e3

View File

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