From d5969507cdbc69b6fdad0f8e29dfef320a5b1b53 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 15 Feb 2021 17:41:30 -0500 Subject: [PATCH] release: Clone docs repo in `..` --- src/bin/release.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/release.js b/src/bin/release.js index 42178caa9..0c77dee34 100644 --- a/src/bin/release.js +++ b/src/bin/release.js @@ -60,12 +60,12 @@ childProcess.execSync(`git push origin release/${newVersion}`); childProcess.execSync('make docs'); -childProcess.execSync('git clone git@github.com:ether/ether.github.com.git'); -childProcess.execSync(`cp -R out/doc/ ether.github.com/doc/v${newVersion}`); +childProcess.execSync('cd .. && git clone git@github.com:ether/ether.github.com.git'); +childProcess.execSync(`cp -R out/doc/ ../ether.github.com/doc/v${newVersion}`); console.log('Once merged into master please run the following commands'); console.log(`git tag -a ${newVersion} -m ${newVersion} && git push origin master`); -console.log(`cd ether.github.com && git add . && git commit -m '${newVersion} docs'`); +console.log(`cd ../ether.github.com && git add . && git commit -m '${newVersion} docs'`); console.log('Build the windows zip'); console.log('Visit https://github.com/ether/etherpad-lite/releases/new and create a new release ' + `with 'master' as the target and the version is ${newVersion}. Include the windows ` +