gulp-modular-release
Modular extension to release projects using git-flow release strategy
Installation
npm install gulp-modular-release
Integration in gulpfile
var gulp = require('gulp');
var gulpModularRelease = require('gulp-modular-release');
gulpModularRelease(gulp);
Usage
gulp release -v 1.2.3
Strategy
- creates branch
release/1.2.3
from develop
- sets version number to
bower.json
and package.json
- generates and writes changelog via conventional changelog to
CHANGELOG.md
- commits the previous changes
- merges
release/1.2.3
into develop
- merges
release/1.2.3
into master
and tags it with v1.2.3
- deletes branch
release/1.2.3