diff --git a/IPython/core/release.py b/IPython/core/release.py index 1208a65..849176a 100644 --- a/IPython/core/release.py +++ b/IPython/core/release.py @@ -24,7 +24,7 @@ _version_minor = 6 _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 79d25fa..a9777f0 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" +