sforkowany z mirror/meshtastic-firmware
rodzic
f29beeb748
commit
aafbde0f10
|
@ -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:
|
||||||
|
|
Ładowanie…
Reference in New Issue