From 72704a9fbd893a5473b57ff312b94f093bee55c2 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Tue, 16 Feb 2021 01:25:33 -0500 Subject: [PATCH] release: Update the `doc/latest` symlink --- src/bin/release.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/release.js b/src/bin/release.js index 562c9e792..b66bce4da 100644 --- a/src/bin/release.js +++ b/src/bin/release.js @@ -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) {