From 6d3c4b21fb9f8cdbd18e848b3e32e32095f28ec6 Mon Sep 17 00:00:00 2001
From: Kevin Jahns <kevin.jahns@rwth-aachen.de>
Date: Mon, 22 Feb 2016 13:04:36 +0100
Subject: [PATCH] Release 0.8.25

---
 dist               | 2 +-
 gulpfile.helper.js | 6 +++---
 package.json       | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dist b/dist
index f2052f95..a286162a 160000
--- a/dist
+++ b/dist
@@ -1 +1 @@
-Subproject commit f2052f95f8e4513935bf3a3c77510cfe98ff7a47
+Subproject commit a286162ace008e91f8922ddd1dbc8a375342c099
diff --git a/gulpfile.helper.js b/gulpfile.helper.js
index fa26c9fb..b57b0dae 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 4725b027..885992ab 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": {
-- 
GitLab