Release 0.7.5

This commit is contained in:
Kevin Jahns 2016-01-11 15:47:24 +01:00
parent 579fd52455
commit fd6a28eb25
3 changed files with 11 additions and 6 deletions

2
dist

@ -1 +1 @@
Subproject commit 4cb0f2b5b9293b521db173f01263e6f9d1a8e6d1
Subproject commit 15a472df44c95844df894006919193186b80004d

View File

@ -121,13 +121,14 @@ module.exports = function (gulp, helperOptions) {
gulp.task('updateSubmodule', function () {
return gulp.src('./package.json', {read: false})
.pipe($.shell([
'git submodule update --init'
'git submodule update --init',
'cd dist && git pull origin dist'
]))
})
gulp.task('bump', function () {
var bumptype
return gulp.src(['./package.json', './dist/package.json', './dist/bower.json'], {base: '.'})
return gulp.src(['./package.json', './bower.json', './dist/bower.json'], {base: '.'})
.pipe($.prompt.prompt({
type: 'checkbox',
name: 'bump',
@ -145,14 +146,14 @@ module.exports = function (gulp, helperOptions) {
gulp.task('publish', function (cb) {
/* TODO: include 'test',*/
runSequence(['updateSubmodule', 'dist'], 'bump', function () {
runSequence('updateSubmodule', 'dist', 'bump', function () {
return gulp.src('./package.json', {read: false})
.pipe($.prompt.confirm({
message: 'Are you sure you want to publish this release?',
default: false
}))
.pipe($.shell([
'cp ./README.md ./dist/',
// 'cp README.md dist',
'standard',
'echo "Deploying version <%= getVersion(file.path) %>"',
'git pull',
@ -163,6 +164,7 @@ module.exports = function (gulp, helperOptions) {
'cd ./dist/ && git push origin --tags',
'git commit -am "Release <%= getVersion(file.path) %>" -n',
'git push',
'npm publish',
'echo Finished <%= callback() %>'
], {
templateData: {

View File

@ -1,6 +1,6 @@
{
"name": "yjs",
"version": "0.7.3",
"version": "0.7.6",
"description": "A framework for real-time p2p shared editing on arbitrary complex data types",
"main": "./src/y.js",
"scripts": {
@ -72,5 +72,8 @@
"standard": "^5.2.2",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0"
},
"dependencies": {
"babel-eslint": "^5.0.0-beta6"
}
}