release.js
function createChangelog () {
    start(`Generating changelog from ${oldVersion.cyan} to ${newVersion.cyan}...`);

    exec(`git fetch --tags ${origin}`);
    exec(`git checkout CHANGELOG.md`);
    exec(`gulp changelog --sha=$(git merge-base v${lastMajorVer} HEAD)`);

    done();

    abortCmds.push('git checkout CHANGELOG.md');
    pushCmds.push('git add CHANGELOG.md');
  }
function createChangelog () {
    start(`Generating changelog from ${oldVersion.cyan} to ${newVersion.cyan}...`);

    exec(`git fetch --tags ${origin}`);
    exec(`git checkout CHANGELOG.md`);
    exec(`gulp changelog --sha=$(git merge-base v${lastMajorVer} HEAD)`);

    done();

    abortCmds.push('git checkout CHANGELOG.md');
    pushCmds.push('git add CHANGELOG.md');
  }
function createChangelog ( ) { start ( ` ${ oldVersion . cyan } ${ newVersion . cyan } ` ) ; exec ( ` ${ origin } ` ) ; exec ( ` ` ) ; exec ( ` ${ lastMajorVer } ` ) ; done ( ) ; abortCmds . push ( 'git checkout CHANGELOG.md' ) ; pushCmds . push ( 'git add CHANGELOG.md' ) ; }
generates the changelog from the commits since the last release
generates the changelog from the commits since the last release