code: function release(type) {
      target.test();
  
      execOrExit('npm version ' + type);
  
      target.generateDist();
  
      execOrExit('git add -A');
      execOrExit('git commit --amend --no-edit');
  
      // ...and publish
      execOrExit('git push origin master --tags');
  
      // also publish to npm (requires authentication)
      execOrExit('npm publish');
  }
docs: Creates a release version tag and pushes to origin.
  @param {string} type The type of release to do (patch, minor, major)
  @returns {void}