release: Update the `doc/latest` symlink

This commit is contained in:
Richard Hansen 2021-02-16 01:25:33 -05:00 committed by John McLear
parent 345f5227fd
commit 72704a9fbd
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ try {
run('git pull --ff-only', {cwd: '../ether.github.com/'});
console.log('Committing documentation...');
run(`cp -R out/doc/ ../ether.github.com/doc/v'${newVersion}'`);
run(`rm -f latest && ln -s 'v${newVersion}' latest`, {cwd: '../ether.github.com/doc/'});
run('git add .', {cwd: '../ether.github.com/'});
run(`git commit -m '${newVersion} docs'`, {cwd: '../ether.github.com/'});
} catch (err) {