release.js
function updateVersion () {
    start(`Updating ${"package.json".cyan} version from ${oldVersion.cyan} to ${newVersion.cyan}...`);
    pkg.version = newVersion;
    fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 2));
    done();
    abortCmds.push('git checkout package.json');
    pushCmds.push('git add package.json');
  }
function updateVersion () {
    start(`Updating ${"package.json".cyan} version from ${oldVersion.cyan} to ${newVersion.cyan}...`);
    pkg.version = newVersion;
    fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 2));
    done();
    abortCmds.push('git checkout package.json');
    pushCmds.push('git add package.json');
  }
function updateVersion ( ) { start ( ` ${ "package.json" . cyan } ${ oldVersion . cyan } ${ newVersion . cyan } ` ) ; pkg . version = newVersion ; fs . writeFileSync ( './package.json' , JSON . stringify ( pkg , null , 2 ) ) ; done ( ) ; abortCmds . push ( 'git checkout package.json' ) ; pushCmds . push ( 'git add package.json' ) ; }
writes the new version to package.json
writes the new version to package . json