This commit is contained in:
ClaraCrazy
2022-12-24 23:34:18 +01:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ DEBUG = 0
# Suffix to add to files when building distribution
# If OS environment has DIST_SUFFIX set, it will be used instead
DIST_SUFFIX = "XFW-0029_12232022"
DIST_SUFFIX = "XFW-0030_12242022"
# Coprocessor firmware
COPRO_OB_DATA = "scripts/ob.data"
+4 -1
View File
@@ -13,7 +13,10 @@ class GitVersion:
self.source_dir = source_dir
def get_version_info(self):
commit = self._exec_git("rev-parse --short HEAD") or "unknown"
try:
commit = self._exec_git("rev-parse --short HEAD")
except:
commit == "Unknown"
dirty = False
try: