From: Art Cancro Date: Sat, 17 Dec 2022 23:21:54 +0000 (-0500) Subject: do-release.sh now obtains confirmation to proceed from the operator X-Git-Tag: v973~65 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=1a3bc90029492cb527d0c835f72d484f65fb92fb do-release.sh now obtains confirmation to proceed from the operator --- diff --git a/do-release.sh b/do-release.sh index e7efcf15a..472c8c183 100755 --- a/do-release.sh +++ b/do-release.sh @@ -32,10 +32,19 @@ echo -e '\033[33m\033[1mcitserver \033[32m was version \033[33m'$citserver_ echo -e '\033[33m\033[1mwebcit \033[32m was version \033[33m'$webcit_version'\033[0m' echo -e '\033[33m\033[1mtextclient \033[32m was version \033[33m'$textclient_version'\033[0m' echo -e '\033[33m\033[1mnew release\033[32m will be version \033[33m'$NEW_VERSION'\033[0m' - -echo -e '' -echo -e '\033[37m\033[1mUpdating header files to reflect the new version number\033[0m' echo -e '' +echo -e '\033[41m\033[37m\033[1m THIS WILL INITIATE THE RELEASE PIPELINE. \033[0m' +echo -n 'Proceed (y/n) ? ' +read x + +if echo ${x} | egrep -i '^y' ; then + echo -e '' + echo -e '\033[37m\033[1mUpdating header files to reflect the new version number\033[0m' + echo -e '' +else + echo 'Exiting' + exit 0 +fi # Edit libcitadel.h to make it the new version sed \