| name | sign-firefox |
| description | Sign the Firefox Browser Bridge extension via Mozilla AMO |
Sign the Firefox extension in js/firefox_bridge/ for self-distribution.
- Bump the version in
js/firefox_bridge/manifest.json.
- Run the signing command:
podman run --rm \
-e FIREFOX_ISSUER -e FIREFOX_SECRET \
-v ./js/firefox_bridge:/ext \
-v ./tmp/firefox:/out \
node:lts-alpine sh -c "
npm install -g web-ext 2>/dev/null &&
cd /ext &&
web-ext sign \
--channel=unlisted \
--api-key=\$FIREFOX_ISSUER \
--api-secret=\$FIREFOX_SECRET \
--artifacts-dir=/out
"
- The output
.xpi will have a hex-prefixed filename - this is normal. Rename it to browser-bridge-<version>.xpi.
- Report the path to the signed
.xpi for installation via about:addons > gear > "Install Add-on From File".
Maintenance links for the operator
Profile edit: https://addons.mozilla.org/en-US/firefox/users/edit
Portal with credentials: https://addons.mozilla.org/en-US/developers/