Buildbot: don't add branch prefix when building release branches

This commit is contained in:
Brecht Van Lommel
2019-10-11 13:45:16 +02:00
parent 74f9b9d144
commit b57a89f062
2 changed files with 6 additions and 2 deletions

View File

@@ -20,6 +20,7 @@
import argparse
import os
import re
import subprocess
import sys
@@ -27,6 +28,7 @@ class Builder:
def __init__(self, name, branch):
self.name = name
self.branch = branch
self.is_release_branch = re.match("^blender-v(.*)-release$", branch) is not None
# Buildbot runs from build/ directory
self.blender_dir = os.path.abspath(os.path.join('..', 'blender.git'))