gulp/tasks/release.js
function getBumpType(){
	if (args.patch && args.minor ||	args.minor && args.major ||	args.major && args.patch) {
		throw '\nYou can not use more than one version bump type at a time\n';
	}

	if (args.patch){
		return 'patch';
	} else if (args.minor){
		return 'minor';
	} else if (args.major) {
		return 'major';
	} else {
		return false;
	}
}
function getBumpType(){
	if (args.patch && args.minor ||	args.minor && args.major ||	args.major && args.patch) {
		throw '\nYou can not use more than one version bump type at a time\n';
	}

	if (args.patch){
		return 'patch';
	} else if (args.minor){
		return 'minor';
	} else if (args.major) {
		return 'major';
	} else {
		return false;
	}
}
function getBumpType ( ) { if ( args . patch && args . minor || args . minor && args . major || args . major && args . patch ) { throw '\nYou can not use more than one version bump type at a time\n' ; } if ( args . patch ) { return 'patch' ; } else if ( args . minor ) { return 'minor' ; } else if ( args . major ) { return 'major' ; } else { return false ; } }
SIMPLE VERSION BUMPING

Bumping version number and tagging the repository with it.
Please read http://semver.org/

You can use the commands

gulp bump --patch   # makes v0.1.0 → v0.1.1
gulp bump --minor   # makes v0.1.1 → v0.2.0
gulp bump --major   # makes v0.2.1 → v1.0.0

To bump the version numbers accordingly after you did a patch,
introduced a feature or made a backwards-incompatible change.

 
FULL GIT RELEASES

You can use the commands

gulp release           # no version number change
gulp release --patch   # makes v0.1.0 → v0.1.1
gulp release --minor   # makes v0.1.1 → v0.2.0
gulp release --major   # makes v0.2.1 → v1.0.0

To do a full git flow release process automatically.
All changes must be committed to git before running this task
SIMPLE VERSION BUMPING