Buildbot: Include branch name to the cmake builds
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 27 Jul 2015 12:21:20 +0000 (14:21 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 27 Jul 2015 12:21:20 +0000 (14:21 +0200)
build_files/buildbot/slave_pack.py

index aa1f944bb0a550b6b30226751ff46e8a79513a1a..aec7cdca80a3b51a9ea7b6f5852c2c52df721a8e 100644 (file)
@@ -132,6 +132,8 @@ else:
         git_hash = tokens[2].split('.')[1]
         platform = builder.split('_')[0]
         builderified_name = 'blender-{}-{}-{}'.format(blender_full_version, git_hash, platform)
+        if branch != '':
+            builderified_name = branch + "-" + builderified_name
 
         os.rename(result_file, "{}.zip".format(builderified_name))
         # create zip file