From 60625f241f298b5039cb2debc365db38aa7bb522 2020-08-07 17:38:11 From: Matthias Bussonnier Date: 2020-08-07 17:38:11 Subject: [PATCH] Merge pull request #12479 from Carreau/autobump try to auto comment ''/.dev --- diff --git a/tools/release_helper.sh b/tools/release_helper.sh index dd700b5..317ef5e 100644 --- a/tools/release_helper.sh +++ b/tools/release_helper.sh @@ -100,6 +100,10 @@ echo "Cleaning repository" git clean -xfdi echo $GREEN"please update version number in ${RED}IPython/core/release.py${NOR} , Do not commit yet – we'll do it later."$NOR +echo $GREEN"I tried ${RED}sed -i bkp -e '/Uncomment/s/^# //g' IPython/core/release.py${NOR}" +sed -i bkp -e '/Uncomment/s/^# //g' IPython/core/release.py +rm IPython/core/release.pybkp +git diff echo $GREEN"Press enter to continue"$NOR read @@ -142,7 +146,13 @@ then echo $GREEN"please update version number and back to .dev in ${RED}IPython/core/release.py" + echo $GREEN"I tried ${RED}sed -i bkp -e '/Uncomment/s/^/# /g' IPython/core/release.py${NOR}" + sed -i bkp -e '/Uncomment/s/^/# /g' IPython/core/release.py + rm IPython/core/release.pybkp + git diff + echo $GREEN"Please bump ${RED}the minor version number${NOR}" echo ${BLUE}"Do not commit yet – we'll do it later."$NOR + echo $GREEN"Press enter to continue"$NOR read