1.0.2 • Published 8 years ago
gulp-github-release-maker v1.0.2
#Gulp GitHub release maker
Install
npm i --save-dev gulp-github-release-maker
Usage
Add the following to your gulpfile.js
:
'use strict';
var gulp = require('gulp');
var githubRelease = require('gulp-github-release-maker');
gulp.task('release:changelog', function (done) {
githubRelease.showChangelog(done);
});
gulp.task('release:do:patch', function (done) {
githubRelease.createRelease({ type: 'patch' }, done);
});
gulp.task('release:do:minor', function (done) {
githubRelease.createRelease({ type: 'minor' }, done);
});
gulp.task('release:do:major', function (done) {
githubRelease.createRelease({ type: 'major' }, done);
});
The release:changelog
command will show the pull requests merged since your last tag.
The release:do:*
commands will:
- show the changelog since last tag
- ask a user confirmation before doing anything
- bump your
package.json
according to thetype
option - commit the change
- create a tag
- push the master
- push tags