From 4671b275e9d551f9dfa219873f7695b706a38bb7 Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 23 Dec 2020 18:28:23 +0000 Subject: [PATCH] script: various fixes to release script --- bin/release.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/release.js b/bin/release.js index b2c7c1a35..281434409 100644 --- a/bin/release.js +++ b/bin/release.js @@ -1,4 +1,5 @@ 'use strict'; + const fs = require('fs'); const child_process = require('child_process'); const semver = require('../src/node_modules/semver'); @@ -58,8 +59,9 @@ child_process.execSync(`git clone git@github.com:ether/ether.github.com.git`); child_process.execSync(`cp -R out/doc/ ether.github.com/doc/${newVersion}`); console.log('Once merged into master please run the following commands'); -console.log(`git tag -a ${newVersion} && git push origin master`); -console.log(`cd ether.github.com && git add . && git commit -m ${newVersion} docs`); - +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(`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 assett`) console.log('Once the new docs are uploaded then modify the download link on etherpad.org and then pull master onto develop'); console.log('Finally go public with an announcement via our comms channels :)');