docs(MAINTAINERS.md): steps to upgrade electron (#501)

This PR documents the process to upgrade the Electron version correctly,
in order to prevent any potential compatibility issue when building
native dependencies.

Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
Juan Cruz Viotti 2016-06-22 10:40:45 -04:00 committed by GitHub
parent 447c67c58f
commit 24f442a8fc

View File

@ -40,3 +40,14 @@ git tag -a v1.0.0 -m "v1.0.0"
git push
git push --tags
```
Upgrading Electron
------------------
- Upgrade the `electron-prebuilt` dependency version in `package.json` to an *exact version* (no `~`, `^`, etc).
- Find the exact NodeJS version included in the desired Electron version and update `engines.node` in `package.json` appropriately. This can be usually found in the [Electron releases page](https://github.com/electron/electron/releases).
- Update the `NODE_VERSION` environment variable in `.travis.yml`.
- Update the `nodejs_version` and `npm_config_target` environment variables in `appveyor.yml`.