gulp-git-streamed
v2.10.1
Published
A simple wrapper around `gulp-git` (Git plugin for gulp), making all commands return streams for better chainability.
Downloads
1,856
Maintainers
Readme
gulp-git-streamed
A simple wrapper around gulp-git (the Git plugin for gulp), making all commands return streams for better chainability:
var gulp = require('gulp'),
git = require('gulp-git-streamed'),
bump = require('gulp-bump');
gulp.task('publish', function() {
var version = '1.2.3',
message = 'Release version ' + version;
return gulp.src([ 'package.json', 'component.json' ])
.pipe(bump({ version: version }))
.pipe(git.add())
.pipe(git.commit(message))
.pipe(git.tag('v' + version, message));
});
Copyright © 2016, Jürg Lehni.