release: Update the `doc/latest` symlink
parent
345f5227fd
commit
72704a9fbd
|
@ -173,6 +173,7 @@ try {
|
||||||
run('git pull --ff-only', {cwd: '../ether.github.com/'});
|
run('git pull --ff-only', {cwd: '../ether.github.com/'});
|
||||||
console.log('Committing documentation...');
|
console.log('Committing documentation...');
|
||||||
run(`cp -R out/doc/ ../ether.github.com/doc/v'${newVersion}'`);
|
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 add .', {cwd: '../ether.github.com/'});
|
||||||
run(`git commit -m '${newVersion} docs'`, {cwd: '../ether.github.com/'});
|
run(`git commit -m '${newVersion} docs'`, {cwd: '../ether.github.com/'});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Loading…
Reference in New Issue