James Broad
James Broad

Reputation: 1280

Chrome Extension Constant Deployment

Since Chrome Extensions can't really be privately hosted using a .crx file and so being forced to use the Chrome Web Store, it's become quite a tedious manual process to upload and update an extension.

Is it possible to automate the publishing of a Chrome extension to the Chrome Web Store?

Upvotes: 7

Views: 2790

Answers (2)

FelicianoTech
FelicianoTech

Reputation: 4017

Konrad is right, there's new APIs (as of when the question was posted) to do this.

I've also written a blog post for this issue since I had trouble myself finding information on this: https://circleci.com/blog/continuously-deploy-a-chrome-extension/

The post is too long to really quote here, but the general idea is, in a CI environment:

  • use a Git and version strategy that meets your CI needs/workflow
  • prepare your extension code & assets (production vs dev, etc)
  • test your code
  • test browser support
  • remove unneeded files and zip up extension
  • use Chrome's APIs to upload .ZIP and then publish it

Upvotes: 4

Konrad Dzwinel
Konrad Dzwinel

Reputation: 37903

Chrome Web Store now has an API that makes publishing easy. Here is a sample desktop app using it.

Upvotes: 4

Related Questions