diff --git a/bin/release.js b/bin/release.js index 50c2d314..b2c7c1a3 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}`);