script: include package files in release script logic

This commit is contained in:
John McLear 2020-12-23 16:51:23 +00:00 committed by Richard Hansen
parent 89ae726221
commit b59461a469
1 changed files with 4 additions and 0 deletions

View File

@ -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}`);