findGitVersion() ignores non-versiony tags
This commit is contained in:
@@ -52,7 +52,7 @@ def findGitHash():
|
||||
|
||||
def findGitVersion():
|
||||
try:
|
||||
p = Popen('git describe --tags', stdout=PIPE, stderr=PIPE, shell=True)
|
||||
p = Popen("git describe --tags --match 'v*.*.*'", stdout=PIPE, stderr=PIPE, shell=True)
|
||||
p.stderr.close()
|
||||
line = p.stdout.readlines()[0]
|
||||
if line.startswith('release-'):
|
||||
|
||||
Reference in New Issue
Block a user