diff --git a/lib/deploy-methods/s3.js b/lib/deploy-methods/s3.js index 0df7300..8a31f71 100644 --- a/lib/deploy-methods/s3.js +++ b/lib/deploy-methods/s3.js @@ -106,13 +106,19 @@ function _doReleaseBySync(build, target, data) { proc = childProcess.spawn('aws', ['s3', 'sync', '--acl', 'public-read', path, `s3://${target}`], { env: env, - stdio: ['pipe', 'ignore', 'pipe'], + stdio: ['pipe', 'pipe', 'pipe'], shell: true }); proc.stderr.on('data', function (data) { errBuffer += data + "\n"; }); + proc.stdout.on('data', function (data) { + if (data) { + console.log(data.toString()); + } + }); + proc.on('close', function (code) { if (code !== 0) { cleanupCb(); diff --git a/package.json b/package.json index b562865..475afc2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kart", - "version": "0.4.6", + "version": "0.4.7", "description": "Kano Archive and Release Tool. Managing releases mainly of static websites.", "main": "lib/index.js", "bin": {