diff --git a/dist b/dist index 81324dc7..f2052f95 160000 --- a/dist +++ b/dist @@ -1 +1 @@ -Subproject commit 81324dc7d438d2744e5020cec2c8a39baebfe5a6 +Subproject commit f2052f95f8e4513935bf3a3c77510cfe98ff7a47 diff --git a/gulpfile.helper.js b/gulpfile.helper.js index f57169d2..fa26c9fb 100644 --- a/gulpfile.helper.js +++ b/gulpfile.helper.js @@ -144,16 +144,14 @@ module.exports = function (gulp, helperOptions) { .pipe(gulp.dest('./')) }) - gulp.task('publish', function (cb) { - /* TODO: include 'test',*/ - runSequence('updateSubmodule', 'dist', 'bump', function () { - return gulp.src('./package.json', {read: false}) + gulp.task('publish_commits', function (cb) { + return gulp.src('./package.json', {read: false}) .pipe($.prompt.confirm({ message: 'Are you sure you want to publish this release?', default: false })) .pipe($.shell([ - // 'cp README.md dist', + 'cp README.md dist', 'standard', 'echo "Deploying version <%= getVersion(file.path) %>"', 'git pull', @@ -174,6 +172,10 @@ module.exports = function (gulp, helperOptions) { callback: cb } })) - }) + }) + + gulp.task('publish', function (cb) { + /* TODO: include 'test',*/ + runSequence('updateSubmodule', 'bump', 'dist', 'publish_commits', cb) }) } diff --git a/package.json b/package.json index ea6cdffe..4725b027 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yjs", - "version": "0.8.22", + "version": "0.8.23", "description": "A framework for real-time p2p shared editing on arbitrary complex data types", "main": "./src/y.js", "scripts": {