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:
parent
b74440a07d
commit
0e9558d116
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user