From d27ef3913a823e571427c8fab23e5ad356cefab3 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 3 Apr 2017 14:49:07 +0200 Subject: Buildbot: Some special tricks for Blender 2.8 slave --- build_files/buildbot/master_unpack.py | 3 +++ build_files/buildbot/slave_pack.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build_files/buildbot/master_unpack.py b/build_files/buildbot/master_unpack.py index ec44705931c..67b628f668a 100644 --- a/build_files/buildbot/master_unpack.py +++ b/build_files/buildbot/master_unpack.py @@ -67,6 +67,9 @@ def get_platform(filename): def get_branch(filename): + if filename.startswith("blender-2.8"): + return "blender2.8" + tokens = filename.split("-") branch = "" diff --git a/build_files/buildbot/slave_pack.py b/build_files/buildbot/slave_pack.py index 490f0456045..33bf3745182 100644 --- a/build_files/buildbot/slave_pack.py +++ b/build_files/buildbot/slave_pack.py @@ -111,7 +111,8 @@ if builder.find('cmake') != -1: if builder.endswith('vc2015'): platform += "-vc14" builderified_name = 'blender-{}-{}-{}'.format(blender_full_version, git_hash, platform) - if branch != '': + # NOTE: Blender 2.8 is already respected by blender_full_version. + if branch != '' and branch != 'blender2.8': builderified_name = branch + "-" + builderified_name os.rename(result_file, "{}.zip".format(builderified_name)) -- cgit v1.2.3