Ensure version tag always has 3 parts. (#5225)
This commit is contained in:
committed by
John Firebaugh
parent
c11ccd0587
commit
e47fe86d5d
@@ -43,6 +43,12 @@ else:
|
||||
tag = DEFAULT_TAG
|
||||
rev = DEFAULT_REV
|
||||
|
||||
tag = tag + [0, 0, 0]
|
||||
tag = tag[0:3]
|
||||
|
||||
print "Tag: {0}".format(tag)
|
||||
print "Rev: {0}".format(rev)
|
||||
|
||||
header = """// NOTE: DO NOT CHANGE THIS FILE. IT IS AUTOMATICALLY GENERATED.
|
||||
#pragma once
|
||||
|
||||
|
||||
Reference in New Issue
Block a user