Update publishing guide

feature/default_network_editable
Dan Finlay 7 years ago committed by GitHub
parent df38b0f307
commit 07cda8264d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 26
      docs/publishing.md

@ -2,18 +2,32 @@
When publishing a new version of MetaMask, we follow this procedure: When publishing a new version of MetaMask, we follow this procedure:
## Preparation
We try to ensure certain criteria are met before deploying:
- Deploy early in the week, to give time for emergency responses to unforeseen bugs.
- Deploy early in the day, for the same reason.
- Make sure at least one member of the support team is "on duty" to watch for new user issues coming through the support system.
- Roll out incrementally when possible, to a small number of users first, and gradually to more users.
## Incrementing Version & Changelog ## Incrementing Version & Changelog
Version can be automatically incremented [using our bump script](./bumping-version.md). Version can be automatically incremented [using our bump script](./bumping-version.md).
npm run version:bump $BUMP_TYPE` where `$BUMP_TYPE` is one of `major`, `minor`, or `patch`. npm run version:bump $BUMP_TYPE` where `$BUMP_TYPE` is one of `major`, `minor`, or `patch`.
## Building
While we develop on the main `develop` branch, our production version is maintained on the `master` branch.
With each pull request, the @MetaMaskBot will comment with a build of that new pull request, so after bumping the version on `develop`, open a pull request against `master`, and once the pull request is reviewed and merged, you can download those builds for publication.
## Publishing ## Publishing
1. `npm run dist` to generate the latest build. 1. Publish to chrome store.
2. Publish to chrome store.
- Visit [the chrome developer dashboard](https://chrome.google.com/webstore/developer/dashboard?authuser=2). - Visit [the chrome developer dashboard](https://chrome.google.com/webstore/developer/dashboard?authuser=2).
3. Publish to firefox addon marketplace. 2. Publish to [firefox addon marketplace](http://addons.mozilla.org/en-us/firefox/addon/ether-metamask).
4. Post on Github releases page. 3. Publish to [Opera store](https://addons.opera.com/en/extensions/details/metamask/).
5. `npm run announce`, post that announcement in our public places. 3. Post on [Github releases](https://github.com/MetaMask/metamask-extension/releases) page.
4. Run the `npm run announce` script, and post that announcement in our public places.

Loading…
Cancel
Save