Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Berger <mberger@denc.com>2014-11-12 17:23:24 +0300
committerMartijn Berger <mberger@denc.com>2014-11-12 17:23:24 +0300
commitf46e77fd561992b253c904a7c89a95d465d7feb0 (patch)
treeafdd9ae7b428cc00c427dbc0f284321b4a19d2f9 /build_files
parent7553a8c1957bf84b77c94393b33d5d75b02678be (diff)
cmake buildbot. Create the zip archive with the name as expected
Diffstat (limited to 'build_files')
-rw-r--r--build_files/buildbot/slave_pack.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/build_files/buildbot/slave_pack.py b/build_files/buildbot/slave_pack.py
index ec8fd61c787..faceb8d3a65 100644
--- a/build_files/buildbot/slave_pack.py
+++ b/build_files/buildbot/slave_pack.py
@@ -118,7 +118,12 @@ if builder.find('scons') != -1:
else:
#cmake
if 'win' in builder:
+ files = [f for f in os.listdir('.') if os.path.isfile(f) and f.endswith('.zip')]
+ for f in files:
+ os.remove(f)
retcode = subprocess.call(['cpack', '-G','ZIP'])
+ result_file = [f for f in os.listdir('.') if os.path.isfile(f) and f.endswith('.zip')][0]
+ os.rename(result_file, "buildbot_upload.zip")
sys.exit(retcode)
# clean release directory if it already exists