/web-ext-submit

Wrapper around Mozilla’s web-ext to submit extensions to AMO.

Primary LanguageShell

Deprecated

web-ext now natively supports addon submissions without error starting in 7.3.0. The usage is similar, replace:

export WEB_EXT_API_KEY=blahla
export WEB_EXT_API_SECRET=blahla
web-ext-submit

with

export WEB_EXT_API_KEY=blahla
export WEB_EXT_API_SECRET=blahla
web-ext sign --use-submission-api --channel listed

web-ext-submit npm version

Wrapper around Mozilla’s web-ext to submit extensions to AMO.

Mozilla’s web-ext sign successfully submits an extension for review, but then it throws an error. This wrapper executes the same command, but then it prevents the unrelated "it could not be signed" error.

This package will only live until web-ext natively supports this. Follow mozilla/web-ext#804

Used on https://github.com/sindresorhus/refined-github/

Install

npm install web-ext-submit

Requirements

  • bash
  • sed
  • grep
  • tee

Tested on Travis and GitHub Actions, they include all of them by default.

Usage

Since this is just a wrapper around web-ext sign, it uses the same env variables and supports the same command-line flags as that command.

WEB_EXT_API_KEY=blahla
WEB_EXT_API_SECRET=blahla
web-ext-submit

or

web-ext-submit --api-key=blahbla --api-secret=blahla

Related

License

MPL-2.0 © Federico Brigante