Release 0.6.32
This commit is contained in:
parent
4882e77fdd
commit
8a2a184f30
2
dist
2
dist
@ -1 +1 @@
|
||||
Subproject commit 5116d70adba8ebafa8a608fea4eb7ba301e345b5
|
||||
Subproject commit 93a3ff3d6e97793dcdd553442cddefd15fd7d992
|
@ -3,6 +3,7 @@ var $ = require('gulp-load-plugins')()
|
||||
var minimist = require('minimist')
|
||||
|
||||
module.exports = function (gulp, helperOptions) {
|
||||
var runSequence = require('run-sequence').use(gulp)
|
||||
var options = minimist(process.argv.slice(2), {
|
||||
string: ['modulename', 'export', 'name', 'testport', 'testfiles', 'regenerator'],
|
||||
default: {
|
||||
@ -105,7 +106,8 @@ module.exports = function (gulp, helperOptions) {
|
||||
.pipe(gulp.dest('./'))
|
||||
})
|
||||
|
||||
gulp.task('publish', ['test', 'updateSubmodule', 'bump', 'dist'], function () {
|
||||
gulp.task('publish', function (cb) {
|
||||
runSequence(['test', 'updateSubmodule', 'dist'], 'bump', function () {
|
||||
return gulp.src('./package.json', {read: false})
|
||||
.pipe($.prompt.confirm({
|
||||
message: 'Are you sure you want to publish this release?',
|
||||
@ -122,15 +124,18 @@ module.exports = function (gulp, helperOptions) {
|
||||
'cd ./dist/ && git tag -a v<%= getVersion(file.path) %> -m "Release <%= getVersion(file.path) %>"',
|
||||
'cd ./dist/ && git push origin --tags',
|
||||
'git commit -am "Release <%= getVersion(file.path) %>" -n',
|
||||
'git push'
|
||||
'git push',
|
||||
'echo Finished <%= callback() %>'
|
||||
], {
|
||||
templateData: {
|
||||
getVersion: function (s) {
|
||||
return require(s).version
|
||||
}
|
||||
},
|
||||
callback: cb
|
||||
}
|
||||
}))
|
||||
})
|
||||
})
|
||||
|
||||
gulp.task('dev:node', ['test'], function () {
|
||||
gulp.watch('src/**/*.js', ['test'])
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yjs",
|
||||
"version": "0.6.32",
|
||||
"version": "0.6.33",
|
||||
"description": "A framework for real-time p2p shared editing on arbitrary complex data types",
|
||||
"main": "y.js",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user