From f91020a04d13fe15a42e1c5d0b787661f186c893 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 23 Nov 2017 12:48:43 +0100 Subject: [PATCH] add section for updating submodule references --- docs/development/upgrading-node.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/development/upgrading-node.md b/docs/development/upgrading-node.md index ddf9db6bbedc..0a7ca8ad01ce 100644 --- a/docs/development/upgrading-node.md +++ b/docs/development/upgrading-node.md @@ -103,6 +103,23 @@ We need to generate a patch file from each patch applied to V8. - Update `patches/v8/README.md` =FIXME== (In libchromiumcontent repo) Read `patches/v8/README.md` to see which patchfiles +- Update Electron's submodule references: + ```sh + cd electron/vendor/node + electron/vendor/node$ git fetch + electron/vendor/node$ git checkout electron-node-vA.B.C + electron/vendor/node$ cd ../libchromiumcontent + electron/vendor/libchromiumcontent$ git fetch + electron/vendor/libchromiumcontent$ git checkout upgrade-to-chromium-X + electron/vendor/libchromiumcontent$ cd ../.. + electron$ git add vendor + electron$ git commit -m "update submodule referefences for node and libc" + electron$ git pso upgrade-to-chromium-62 + electron$ script/bootstrap.py -d + electron$ script/build.py -c -D + ``` + + ## Notes