function publishFromPackage(done) {
  const releaseDir = 'dist/plugins';
  exitIfNoReleaseDir(releaseDir, done);

  // Run lerna publish. Will not update versions.
  console.log(`Publishing plugins from package.json versions.`);
  execSync(`lerna publish from-package`, {
    cwd: releaseDir,
    stdio: 'inherit',
  });

  console.log('Removing release directory.');
  rimraf.sync(releaseDir);
  done();
}
Publishes plugins that haven't previously been uploaded to npm.
Useful if a previous run of publishing failed after versions were
uploaded to github but not all packages were placed uploaded to npm.
You must run `npm run publish:prepare` first.
@param {Function} done Completed callback.