From edbca8cd18673e5aaed71333c20ee46962fafd3f Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Fri, 28 Jun 2019 16:30:51 -0700 Subject: [PATCH] release 7.6.0 --- IPython/core/release.py | 2 +- tools/release_helper.sh | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/IPython/core/release.py b/IPython/core/release.py index 1208a65f8c9..849176a9488 100644 --- a/IPython/core/release.py +++ b/IPython/core/release.py @@ -24,7 +24,7 @@ _version_patch = 0 _version_extra = '.dev' # _version_extra = 'b1' -# _version_extra = '' # Uncomment this for full releases +_version_extra = '' # Uncomment this for full releases # Construct full version string from these. _ver = [_version_major, _version_minor, _version_patch] diff --git a/tools/release_helper.sh b/tools/release_helper.sh index 79d25fa1b26..a9777f0216c 100644 --- a/tools/release_helper.sh +++ b/tools/release_helper.sh @@ -10,6 +10,9 @@ read VERSION echo -n 'branch (master|X.y):' read branch +RED=$(tput setaf 1) +NOR=$(tput sgr0) + echo echo "updating what's new with informations from docs/source/whatsnew/pr" python tools/update_whatsnew.py @@ -37,7 +40,8 @@ read echo "Cleaning repository" git clean -xfdi -echo "please update version number in IPython/core/release.py" +echo "please update version number in ${RED}IPython/core/release.py${NOR} , Do not commit +yet – we'll do it later." echo "Press enter to continue" read @@ -55,3 +59,9 @@ echo "Attempting to build package..." tools/build_release +echo +echo "Let\'s commit : git commit -am \"release $VERSION\" -S" +echo "Press enter to continue" +read +git commit -am "release $VERSION" +