send raw tarball for deploy

This commit is contained in:
matt debergalis
2011-11-29 20:52:52 -08:00
parent 1df7d90049
commit 9be7026cb7

View File

@@ -399,7 +399,7 @@ Commands.push({
var cp = require('child_process');
// curl -# progress meter, -f exit nonzero if HTTP 403, -F form data.
// XXX exec won't let us buffer the output.
cp.exec('tar czf - bundle | curl -f -# -F file=@- http://deploy.skybreakplatform.com/deploy/' + url.hostname,
cp.exec('tar czf - bundle | curl -f -# --data-binary @- http://deploy.skybreakplatform.com/deploy/' + url.hostname,
{cwd: build_dir},
function (error, stdout, stderr) {
files.rm_recursive(build_dir);