diff --git a/README.md b/README.md index 6142263..1b5e37f 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ For more info, see: ## Development -1. Install web-ext with npm -2. cd src; web-ext run -f Nightly +1. `npm install` +2. `./node_modules/.bin/web-ext run -s src/ ### Testing TBD @@ -33,22 +33,15 @@ TBD 4. Push the tag up to GitHub: `git push --tags` #### Publish to AMO -While the add-on is an Embedded Web Extension, we have to use the [Mozilla -Internal Signing -Service](https://mana.mozilla.org/wiki/display/FIREFOX/Internal+Extension+Signing) -to sign it as a Mozilla extension exempt from AMO's Web Extension restrictions. -So, to distribute the add-on to AMO: - -1. Use `jpm xpi` to build the `.xpi` file -2. [Submit the `.xpi` to the Internal Signing Service and download the signed `.xpi`](https://mana.mozilla.org/wiki/display/SVCOPS/Sign+a+Mozilla+Internal+Extension) -3. [Upload the signed `.xpi` file to - AMO](https://addons.mozilla.org/en-US/developers/addon/multi-account-containers/versions/submit/) +1. `npm run-script build` +2. [Upload the `.zip` to AMO](https://addons.mozilla.org/en-US/developers/addon/multi-account-containers/versions/submit/) #### Publish to GitHub Finally, we also publish the release to GitHub for those followers. -1. [Make the new release on +1. Download the signed `.xpi` from [the addon versions page](https://addons.mozilla.org/en-US/developers/addon/multi-account-containers/versions) +2. [Make the new release on GitHub](https://github.com/mozilla/multi-account-containers/releases/new) * Use the version number for "Tag version" and "Release title" * Release notes: copy the output of `git log --no-merges --pretty=format:"%h %s" ..` diff --git a/package.json b/package.json index ae3938d..5a7ff73 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "npm-run-all": "^4.0.0", "stylelint": "^7.9.0", "stylelint-config-standard": "^16.0.0", - "stylelint-order": "^0.3.0" + "stylelint-order": "^0.3.0", + "web-ext": "^2.2.2" }, "homepage": "https://github.com/mozilla/testpilot-containers#readme", "license": "MPL-2.0",