Skip to content
Snippets Groups Projects
Commit fc92b12e authored by Kevin Jahns's avatar Kevin Jahns
Browse files

Release 0.8.27

parent e35f4d19
No related branches found
No related tags found
No related merge requests found
Subproject commit 64044123e3fac670fee6294eb471c5f4214103ab Subproject commit f75f47646bc20bf88de725e95f8e75ced40d7a88
...@@ -144,7 +144,7 @@ module.exports = function (gulp, helperOptions) { ...@@ -144,7 +144,7 @@ module.exports = function (gulp, helperOptions) {
.pipe(gulp.dest('./')) .pipe(gulp.dest('./'))
}) })
gulp.task('publish_commits', function (cb) { gulp.task('publish_commits', function () {
return gulp.src('./package.json') return gulp.src('./package.json')
.pipe($.prompt.confirm({ .pipe($.prompt.confirm({
message: 'Are you sure you want to publish this release?', message: 'Are you sure you want to publish this release?',
...@@ -163,19 +163,18 @@ module.exports = function (gulp, helperOptions) { ...@@ -163,19 +163,18 @@ module.exports = function (gulp, helperOptions) {
'git commit -am "Release <%= getVersion(file.path) %>" -n', 'git commit -am "Release <%= getVersion(file.path) %>" -n',
'git push', 'git push',
'npm publish', 'npm publish',
'echo Finished <%= callback() %>' 'echo Finished'
], { ], {
templateData: { templateData: {
getVersion: function () { getVersion: function () {
return JSON.parse(String.fromCharCode.apply(null, this.file._contents)).version return JSON.parse(String.fromCharCode.apply(null, this.file._contents)).version
}, }
callback: cb
} }
})) }))
}) })
gulp.task('publish', function (cb) { gulp.task('publish', function (cb) {
/* TODO: include 'test',*/ /* TODO: include 'test',*/
return runSequence('updateSubmodule', 'bump', 'dist', 'publish_commits', cb) runSequence('updateSubmodule', 'bump', 'dist', 'publish_commits', cb)
}) })
} }
{ {
"name": "yjs", "name": "yjs",
"version": "0.8.26", "version": "0.8.27",
"description": "A framework for real-time p2p shared editing on arbitrary complex data types", "description": "A framework for real-time p2p shared editing on arbitrary complex data types",
"main": "./src/y.js", "main": "./src/y.js",
"scripts": { "scripts": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment