Remove the dirty d

wio-e5 v2.0.15.aafbde0
Ben Meadors 2023-01-28 14:50:07 -06:00
rodzic f29beeb748
commit aafbde0f10
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -22,9 +22,9 @@ def readProps(prefsLoc):
isDirty = subprocess.check_output( isDirty = subprocess.check_output(
['git', 'diff', 'HEAD']).decode("utf-8").strip() ['git', 'diff', 'HEAD']).decode("utf-8").strip()
suffix = sha suffix = sha
if isDirty: # if isDirty:
# short for 'dirty', we want to keep our verstrings source for protobuf reasons # # short for 'dirty', we want to keep our verstrings source for protobuf reasons
suffix = sha + "-d" # suffix = sha + "-d"
verObj['long'] = "{}.{}.{}.{}".format( verObj['long'] = "{}.{}.{}.{}".format(
version["major"], version["minor"], version["build"], suffix) version["major"], version["minor"], version["build"], suffix)
except: except: