getstream
Advanced tools
Comparing version 0.1.9 to 0.1.19
{ | ||
"name": "getstream", | ||
"version": "0.1.9", | ||
"version": "0.1.18", | ||
"main": "dist/js/getstream.js", | ||
@@ -5,0 +5,0 @@ "ignore": [ |
var gulp = require('gulp'); | ||
var gutil = require('gulp-util'); | ||
var jshint = require('gulp-jshint'); | ||
@@ -95,12 +96,8 @@ var mocha = require('gulp-mocha'); | ||
var message = 'Release ' + v; | ||
return gulp.src('./') | ||
.pipe(git.commit(message)) | ||
.pipe(git.tag(v, message)) | ||
.pipe(git.push('origin', 'master', '--tags')) | ||
.pipe(gulp.dest('./')); | ||
git.tag(v, message, false, gutil.log); | ||
git.push('origin', 'master', {args: '--tags'}).end(); | ||
}); | ||
// full release flow | ||
gulp.task('release', ['write_bower', 'npm'], function () { | ||
gulp.task('release', ['bump', 'write_bower', 'tag', 'npm'], function () { | ||
return; | ||
@@ -107,0 +104,0 @@ }); |
@@ -10,3 +10,3 @@ { | ||
"homepage": "https://getstream.io/", | ||
"version": "0.1.9", | ||
"version": "0.1.19", | ||
"config": { | ||
@@ -32,3 +32,3 @@ "blanket": { | ||
"gulp-bump": "^0.1.8", | ||
"gulp-git": "^0.4.3", | ||
"gulp-git": "git://github.com/stevelacy/gulp-git.git", | ||
"gulp-jshint": "^1.6.3", | ||
@@ -38,2 +38,3 @@ "gulp-mocha": "^0.4.1", | ||
"gulp-uglify": "~0.3.1", | ||
"gulp-util": "^2.2.17", | ||
"mocha": "^1.20.1", | ||
@@ -40,0 +41,0 @@ "mocha-lcov-reporter": "0.0.1", |
@@ -72,3 +72,11 @@ stream-node | ||
To release a new version | ||
```bash | ||
# package.json is leading and overwrites bower.json version | ||
gulp bump | ||
# builds the browserify, tags and submits to npm | ||
gulp publish | ||
``` | ||
[Stream]: https://getstream.io/ | ||
[GetStream.io]: http://getstream.io/docs/ |
200245
82
20
6612