1
0
mirror of https://github.com/drewcassidy/KSP-DepthMask synced 2024-09-01 14:54:35 +00:00

Fix version tool

This commit is contained in:
Andrew Cassidy 2022-11-03 19:12:55 -07:00
parent b74440a07d
commit 0e9558d116

View File

@ -14,7 +14,7 @@ def run():
g = gp.Git(basedir)
release = True
tag, distance, sha = g.execute(["git", "describe", "--tags"]).split("-")
tag, distance, sha, *_ = g.execute(["git", "describe", "--tags"]).split("-") + [0, 0]
if int(distance) > 0:
release = False