diff --git a/build_files/buildbot/master_unpack.py b/build_files/buildbot/master_unpack.py index 651a68b414e..efcc56328c9 100644 --- a/build_files/buildbot/master_unpack.py +++ b/build_files/buildbot/master_unpack.py @@ -71,14 +71,14 @@ def get_branch(filename): branch = "" for token in tokens: + if token == "blender": + return branch + if branch == "": branch = token else: branch = branch + "-" + token - if token == "blender": - return branch - return "" # get filename