Author: Amaury Forgeot d'Arc <[email protected]>
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))
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to