mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
send raw tarball for deploy
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user