Skip to content
Snippets Groups Projects
Commit fd6a28eb authored by Kevin Jahns's avatar Kevin Jahns
Browse files

Release 0.7.5

parent 579fd524
No related branches found
No related tags found
No related merge requests found
Subproject commit 4cb0f2b5b9293b521db173f01263e6f9d1a8e6d1 Subproject commit 15a472df44c95844df894006919193186b80004d
...@@ -121,13 +121,14 @@ module.exports = function (gulp, helperOptions) { ...@@ -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) { ...@@ -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) { ...@@ -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: {
......
{ {
"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 @@ ...@@ -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"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment