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')
|
var minimist = require('minimist')
|
||||||
|
|
||||||
module.exports = function (gulp, helperOptions) {
|
module.exports = function (gulp, helperOptions) {
|
||||||
|
var runSequence = require('run-sequence').use(gulp)
|
||||||
var options = minimist(process.argv.slice(2), {
|
var options = minimist(process.argv.slice(2), {
|
||||||
string: ['modulename', 'export', 'name', 'testport', 'testfiles', 'regenerator'],
|
string: ['modulename', 'export', 'name', 'testport', 'testfiles', 'regenerator'],
|
||||||
default: {
|
default: {
|
||||||
@ -105,31 +106,35 @@ module.exports = function (gulp, helperOptions) {
|
|||||||
.pipe(gulp.dest('./'))
|
.pipe(gulp.dest('./'))
|
||||||
})
|
})
|
||||||
|
|
||||||
gulp.task('publish', ['test', 'updateSubmodule', 'bump', 'dist'], function () {
|
gulp.task('publish', function (cb) {
|
||||||
return gulp.src('./package.json', {read: false})
|
runSequence(['test', 'updateSubmodule', 'dist'], 'bump', function () {
|
||||||
.pipe($.prompt.confirm({
|
return gulp.src('./package.json', {read: false})
|
||||||
message: 'Are you sure you want to publish this release?',
|
.pipe($.prompt.confirm({
|
||||||
default: false
|
message: 'Are you sure you want to publish this release?',
|
||||||
}))
|
default: false
|
||||||
.pipe($.shell([
|
}))
|
||||||
'cp ./README.md ./dist/',
|
.pipe($.shell([
|
||||||
'standard',
|
'cp ./README.md ./dist/',
|
||||||
'echo "Deploying version <%= getVersion(file.path) %>"',
|
'standard',
|
||||||
'git pull',
|
'echo "Deploying version <%= getVersion(file.path) %>"',
|
||||||
'cd ./dist/ && git add -A',
|
'git pull',
|
||||||
'cd ./dist/ && git commit -am "Deploy <%= getVersion(file.path) %>" -n',
|
'cd ./dist/ && git add -A',
|
||||||
'cd ./dist/ && git push',
|
'cd ./dist/ && git commit -am "Deploy <%= getVersion(file.path) %>" -n',
|
||||||
'cd ./dist/ && git tag -a v<%= getVersion(file.path) %> -m "Release <%= getVersion(file.path) %>"',
|
'cd ./dist/ && git push',
|
||||||
'cd ./dist/ && git push origin --tags',
|
'cd ./dist/ && git tag -a v<%= getVersion(file.path) %> -m "Release <%= getVersion(file.path) %>"',
|
||||||
'git commit -am "Release <%= getVersion(file.path) %>" -n',
|
'cd ./dist/ && git push origin --tags',
|
||||||
'git push'
|
'git commit -am "Release <%= getVersion(file.path) %>" -n',
|
||||||
], {
|
'git push',
|
||||||
templateData: {
|
'echo Finished <%= callback() %>'
|
||||||
getVersion: function (s) {
|
], {
|
||||||
return require(s).version
|
templateData: {
|
||||||
|
getVersion: function (s) {
|
||||||
|
return require(s).version
|
||||||
|
},
|
||||||
|
callback: cb
|
||||||
}
|
}
|
||||||
}
|
}))
|
||||||
}))
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
gulp.task('dev:node', ['test'], function () {
|
gulp.task('dev:node', ['test'], function () {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yjs",
|
"name": "yjs",
|
||||||
"version": "0.6.32",
|
"version": "0.6.33",
|
||||||
"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": "y.js",
|
"main": "y.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user