scripts/release/index.js
function createReleaseTask(level) {
  /**
   * Prepare the release: upgrade version number according to
   * the specified level.
   *
 * @return {WritableStream} The stream pipeline.
   */
  function prepareRelease() {
    return bumpLevel(level);
  }

  return gulp.series(
      prepareRelease,
      performRelease,
      tagRelease,
      prepareNextRelease
  );
}
function createReleaseTask(level) {
  /**
   * Prepare the release: upgrade version number according to
   * the specified level.
   *
 * @return {WritableStream} The stream pipeline.
   */
  function prepareRelease() {
    return bumpLevel(level);
  }

  return gulp.series(
      prepareRelease,
      performRelease,
      tagRelease,
      prepareNextRelease
  );
}
function createReleaseTask ( level ) { /**
   * Prepare the release: upgrade version number according to
   * the specified level.
   *
 * @return {WritableStream} The stream pipeline.
   */ function prepareRelease ( ) { return bumpLevel ( level ) ; } return gulp . series ( prepareRelease , performRelease , tagRelease , prepareNextRelease ) ; }
Create the release task.

@param {string} level The version level upgrade.
@return {function} The release task function.
Create the release task .