Ignore jenkins tags
This commit is contained in:
parent
57af97858b
commit
be9557b8ef
|
@ -27,7 +27,7 @@ def cleanDirs(path):
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
print("Obtaining version information from git")
|
print("Obtaining version information from git")
|
||||||
cmd = "git describe --long"
|
cmd = "git describe --long --match='[^(jenkins)]*'"
|
||||||
try:
|
try:
|
||||||
process = subprocess.Popen(cmdsplit(cmd), stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=-1)
|
process = subprocess.Popen(cmdsplit(cmd), stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=-1)
|
||||||
vers, _ = process.communicate()
|
vers, _ = process.communicate()
|
||||||
|
|
Loading…
Reference in New Issue