release: Clone docs repo in `..`

pull/4792/head
Richard Hansen 2021-02-15 17:41:30 -05:00 committed by John McLear
parent bdd32f8915
commit d5969507cd
1 changed files with 3 additions and 3 deletions

View File

@ -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 ` +