diff --git a/dist b/dist index f2052f95f8e4513935bf3a3c77510cfe98ff7a47..a286162ace008e91f8922ddd1dbc8a375342c099 160000 --- a/dist +++ b/dist @@ -1 +1 @@ -Subproject commit f2052f95f8e4513935bf3a3c77510cfe98ff7a47 +Subproject commit a286162ace008e91f8922ddd1dbc8a375342c099 diff --git a/gulpfile.helper.js b/gulpfile.helper.js index fa26c9fb0bce66628657d582427e588c1db57148..b57b0dae6e2165ce57622f0a8bd64f280d074d96 100644 --- a/gulpfile.helper.js +++ b/gulpfile.helper.js @@ -145,7 +145,7 @@ module.exports = function (gulp, helperOptions) { }) gulp.task('publish_commits', function (cb) { - return gulp.src('./package.json', {read: false}) + gulp.src('./package.json') .pipe($.prompt.confirm({ message: 'Are you sure you want to publish this release?', default: false @@ -166,8 +166,8 @@ module.exports = function (gulp, helperOptions) { 'echo Finished <%= callback() %>' ], { templateData: { - getVersion: function (s) { - return require(s).version + getVersion: function () { + return JSON.parse(String.fromCharCode.apply(null, this.file._contents)).version }, callback: cb } diff --git a/package.json b/package.json index 4725b027ae8e9f0bf8b4b4eaa2cb5c0c1776a174..885992ab0785a77676c9965e383ad5123d199e98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yjs", - "version": "0.8.23", + "version": "0.8.25", "description": "A framework for real-time p2p shared editing on arbitrary complex data types", "main": "./src/y.js", "scripts": {