diff --git a/gulpfile.js b/gulpfile.js
index 6408415a..6577245c 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -117,7 +117,7 @@ gulp.task('deploy:updateSubmodule', function () {
   return $.git.updateSubmodule({ args: '--init' })
 })
 
-gulp.task('deploy:copy', ['deploy:build'], function () {
+gulp.task('deploy:copy', function () {
   return gulp.src(['./y.js', './y.js.map', './README.md', 'package.json', 'LICENSE'])
     .pipe(gulp.dest('./dist/'))
 })
@@ -131,8 +131,8 @@ gulp.task('deploy:bump', function () {
 gulp.task('deploy:commit', function () {
   gulp.src(['./*', '!./node_modules', '!./build', '!./y.*', '!./dist'] )
     .pipe($.git.commit('bumps package version', {args: '-n'}))
-  return gulp.src('./dist/*', {cwd: './dist'})
-    .pipe($.git.commit('New release', {cwd: './dist/'}))
+  return gulp.src('./dist/*')
+    .pipe($.git.commit('New release', { maxBuffer: 20000 * 1024, args: '-n', cwd: './dist'}))
 })
 
 gulp.task('deploy:tag', function () {
@@ -140,7 +140,7 @@ gulp.task('deploy:tag', function () {
     .pipe($.tagVersion({cwd: './dist'}))
 })
 
-gulp.task('deploy', ['deploy:updateSubmodule', 'deploy:bump', 'deploy:copy', 'deploy:commit', 'deploy:tag'], function () {
+gulp.task('deploy', ['deploy:updateSubmodule', 'deploy:bump', 'deploy:build', 'deploy:copy', 'deploy:commit', 'deploy:tag'], function () {
   $.git.push('origin', 'master', function (err) {
     if (err) throw err
   })
diff --git a/package.json b/package.json
index 90a57a47..6aeae31c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "yjs",
-  "version": "0.6.11",
+  "version": "0.6.14",
   "description": "A framework for real-time p2p shared editing on arbitrary complex data types",
   "main": "y.js",
   "scripts": {