gulp-git-streamed

2.10.1 • Public • Published

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.

Package Sidebar

Install

npm i gulp-git-streamed

Weekly Downloads

574

Version

2.10.1

License

MIT

Unpacked Size

3.87 kB

Total Files

4

Last publish

Collaborators

  • lehni