[pypy-commit] buildbot default: Windows buildbot makes .zip files, not bz2 archives.

amauryfa noreply at buildbot.pypy.org
Thu Sep 1 22:49:15 CEST 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r589:d68d3f08d031
Date: 2011-09-01 22:46 +0200
http://bitbucket.org/pypy/buildbot/changeset/d68d3f08d031/

Log:	Windows buildbot makes .zip files, not bz2 archives.

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -293,10 +293,14 @@
                      '.'],
             workdir='build'))
         nightly = '~/nightly/'
-        pypy_c_rel = "build/" + name + ".tar.bz2"
+        if platform == "win32":
+            extension = ".zip"
+        else:
+            extension = ".tar.bz2"
+        pypy_c_rel = "build/" + name + extension
         self.addStep(PyPyUpload(slavesrc=WithProperties(pypy_c_rel),
                                 masterdest=WithProperties(nightly),
-                                basename=name + ".tar.bz2",
+                                basename=name + extension
                                 workdir='.',
                                 blocksize=100*1024))
 


More information about the pypy-commit mailing list