code: function updateChangelog(pkgVersion, releaseNote) {
      const [pkgPath, pkg] = getPackageObject();
      const msg = getCommitTagMessage(pkg.version);
      return updateChangelogInternal(pkgVersion, releaseNote)
          .then(output => {
              return `updated CHANGELOG for version ${pkgVersion}`;
          });
  }
docs: *For testing purposes only*: Updates the CHANGELOG for the given package version
  with the given release information (optional) from the conventional commits.
  
  If supplied with releaseNote, this text is prepended to the release information generated
  by conventional commits.