From e1dcaa5210d9993128c96262de53329840daffbb Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 15 Feb 2021 10:20:04 +0000 Subject: [PATCH] release: Better steps for release procedure --- src/bin/release.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/release.js b/src/bin/release.js index 0c77dee34..86a58af40 100644 --- a/src/bin/release.js +++ b/src/bin/release.js @@ -64,12 +64,12 @@ childProcess.execSync('cd .. && git clone git@github.com:ether/ether.github.com. 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('Build the windows zip'); +console.log(`git checkout master && git tag -a ${newVersion} -m ${newVersion} && git push origin master`); +console.log(`cd ../ether.github.com && git add . && git commit -m '${newVersion} docs' && git push`); +console.log('bin/buildForWindows.sh'); 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 ` + 'zip as an asset'); console.log(`Once the new docs are uploaded then modify the download - link on etherpad.org and then pull master onto develop`); + links (replace ${currentVersion} with ${newVersion} on etherpad.org and then pull master onto develop`); console.log('Finally go public with an announcement via our comms channels :)');