From b59461a469b395d27b6065e205fca1fe7827c6c6 Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 23 Dec 2020 16:51:23 +0000 Subject: [PATCH] script: include package files in release script logic --- bin/release.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/release.js b/bin/release.js index 50c2d314b..b2c7c1a35 100644 --- a/bin/release.js +++ b/bin/release.js @@ -47,8 +47,12 @@ child_process.execSync('npm install --package-lock-only', {cwd: `src/`}); // run npm install --package-lock-only <-- required??? child_process.execSync(`git checkout -b release/${newVersion}`); +child_process.execSync(`git add src/package.json`); +child_process.execSync(`git add src/package-lock.json`); +child_process.execSync(`git commit -m 'bump version'`); child_process.execSync(`git push origin release/${newVersion}`); + child_process.execSync(`make docs`); child_process.execSync(`git clone git@github.com:ether/ether.github.com.git`); child_process.execSync(`cp -R out/doc/ ether.github.com/doc/${newVersion}`);