Release 0.8.27

This commit is contained in:
Kevin Jahns 2016-02-22 13:08:05 +01:00
parent e35f4d19f3
commit fc92b12e85
3 changed files with 6 additions and 7 deletions

2
dist

@ -1 +1 @@
Subproject commit 64044123e3fac670fee6294eb471c5f4214103ab
Subproject commit f75f47646bc20bf88de725e95f8e75ced40d7a88

View File

@ -144,7 +144,7 @@ module.exports = function (gulp, helperOptions) {
.pipe(gulp.dest('./'))
})
gulp.task('publish_commits', function (cb) {
gulp.task('publish_commits', function () {
return gulp.src('./package.json')
.pipe($.prompt.confirm({
message: 'Are you sure you want to publish this release?',
@ -163,19 +163,18 @@ module.exports = function (gulp, helperOptions) {
'git commit -am "Release <%= getVersion(file.path) %>" -n',
'git push',
'npm publish',
'echo Finished <%= callback() %>'
'echo Finished'
], {
templateData: {
getVersion: function () {
return JSON.parse(String.fromCharCode.apply(null, this.file._contents)).version
},
callback: cb
}
}
}))
})
gulp.task('publish', function (cb) {
/* TODO: include 'test',*/
return runSequence('updateSubmodule', 'bump', 'dist', 'publish_commits', cb)
runSequence('updateSubmodule', 'bump', 'dist', 'publish_commits', cb)
})
}

View File

@ -1,6 +1,6 @@
{
"name": "yjs",
"version": "0.8.26",
"version": "0.8.27",
"description": "A framework for real-time p2p shared editing on arbitrary complex data types",
"main": "./src/y.js",
"scripts": {