0

fixed new version incantation to work on windows

This commit is contained in:
Aaron Griffith
2013-08-18 17:36:10 -04:00
parent 6ba77a029c
commit 3ef5382be8

View File

@@ -52,7 +52,7 @@ def findGitHash():
def findGitVersion(): def findGitVersion():
try: try:
p = Popen("git describe --tags --match 'v*.*.*'", stdout=PIPE, stderr=PIPE, shell=True) p = Popen('git describe --tags --match "v*.*.*"', stdout=PIPE, stderr=PIPE, shell=True)
p.stderr.close() p.stderr.close()
line = p.stdout.readlines()[0] line = p.stdout.readlines()[0]
if line.startswith('release-'): if line.startswith('release-'):