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

View File

@ -1,6 +1,6 @@
{ {
"name": "yjs", "name": "yjs",
"version": "0.7.3", "version": "0.7.6",
"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": {
@ -72,5 +72,8 @@
"standard": "^5.2.2", "standard": "^5.2.2",
"vinyl-buffer": "^1.0.0", "vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0" "vinyl-source-stream": "^1.1.0"
},
"dependencies": {
"babel-eslint": "^5.0.0-beta6"
} }
} }