gulp/tasks/release.js
function tag_version(){
	return new Promise((resolve, reject)=>{
		const pkg = reload('../../package.json');
    const tag = `v${pkg.version}`;
    gutil.log('Tagging as: '+gutil.colors.cyan(tag));
    git.tag(tag, `Tagging as ${tag}`, (err)=>{
			checkError(err);
			resolve(tag);
    })
	})
}
function tag_version(){
	return new Promise((resolve, reject)=>{
		const pkg = reload('../../package.json');
    const tag = `v${pkg.version}`;
    gutil.log('Tagging as: '+gutil.colors.cyan(tag));
    git.tag(tag, `Tagging as ${tag}`, (err)=>{
			checkError(err);
			resolve(tag);
    })
	})
}
function tag_version ( ) { return new Promise ( ( resolve , reject ) => { const pkg = reload ( '../../package.json' ) ; const tag = ` ${ pkg . version } ` ; gutil . log ( 'Tagging as: ' + gutil . colors . cyan ( tag ) ) ; git . tag ( tag , ` ${ tag } ` , ( err ) => { checkError ( err ) ; resolve ( tag ) ; } ) } ) }
Tag current version number in git
Tag current version number in git