Release 0.8.27
This commit is contained in:
parent
e35f4d19f3
commit
fc92b12e85
2
dist
2
dist
@ -1 +1 @@
|
|||||||
Subproject commit 64044123e3fac670fee6294eb471c5f4214103ab
|
Subproject commit f75f47646bc20bf88de725e95f8e75ced40d7a88
|
@ -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) {
|
|||||||
'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)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user