function getVersion() {
  return `${pkg.version.match(/\d+\.\d+/)[0]}.${pkg.beta || 0}`;
}
Derive extension version from pkg.version and pkg.beta fields.

> manifest.version = `${pkg.version}.${pkg.beta}`