Fix integration test found by CI! verstr field was too short

This commit is contained in:
Kevin Hester
2021-04-16 11:51:04 +08:00
parent 568032cbc7
commit 405f7e0caa
7 changed files with 19 additions and 16 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ def readProps(prefsLoc):
['git', 'diff', 'HEAD']).decode("utf-8").strip()
suffix = sha
if isDirty:
suffix = sha + "-dirty"
# short for 'dirty', we want to keep our verstrings source for protobuf reasons
suffix = sha + "-d"
verStr = "{}.{}.{}.{}".format(
version["major"], version["minor"], version["build"], suffix)
except: