mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-16 00:18:11 -07:00
Dev (#26)
This commit is contained in:
+1
-1
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user