From 80cec70fcc5e78102f72e20846a7daedeb16e363 2017-09-15 17:45:01 From: Matthias Bussonnier Date: 2017-09-15 17:45:01 Subject: [PATCH] release 6.2.0 --- diff --git a/IPython/core/release.py b/IPython/core/release.py index c461b96..5393f38 100644 --- a/IPython/core/release.py +++ b/IPython/core/release.py @@ -24,7 +24,7 @@ _version_minor = 2 _version_patch = 0 _version_extra = '.dev' # _version_extra = 'rc2' -# _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/build_release b/tools/build_release index 3b115f1..8c7590c 100755 --- a/tools/build_release +++ b/tools/build_release @@ -15,6 +15,10 @@ def build_release(): # Load release info execfile(pjoin('IPython', 'core', 'release.py'), globals()) + with open('docs/source/whatsnew/index.rst') as f: + if ' development' in f.read(): + raise ValueError("Please remove `development` from what's new toctree for release") + # Cleanup for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'), pjoin('docs', 'source', 'api', 'generated')]: