Show More
@@ -24,7 +24,7 b' _version_minor = 2' | |||||
24 | _version_patch = 0 |
|
24 | _version_patch = 0 | |
25 | _version_extra = '.dev' |
|
25 | _version_extra = '.dev' | |
26 | # _version_extra = 'rc2' |
|
26 | # _version_extra = 'rc2' | |
27 |
|
|
27 | _version_extra = '' # Uncomment this for full releases | |
28 |
|
28 | |||
29 | # Construct full version string from these. |
|
29 | # Construct full version string from these. | |
30 | _ver = [_version_major, _version_minor, _version_patch] |
|
30 | _ver = [_version_major, _version_minor, _version_patch] |
@@ -15,6 +15,10 b' def build_release():' | |||||
15 | # Load release info |
|
15 | # Load release info | |
16 | execfile(pjoin('IPython', 'core', 'release.py'), globals()) |
|
16 | execfile(pjoin('IPython', 'core', 'release.py'), globals()) | |
17 |
|
17 | |||
|
18 | with open('docs/source/whatsnew/index.rst') as f: | |||
|
19 | if ' development' in f.read(): | |||
|
20 | raise ValueError("Please remove `development` from what's new toctree for release") | |||
|
21 | ||||
18 | # Cleanup |
|
22 | # Cleanup | |
19 | for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'), |
|
23 | for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'), | |
20 | pjoin('docs', 'source', 'api', 'generated')]: |
|
24 | pjoin('docs', 'source', 'api', 'generated')]: |
General Comments 0
You need to be logged in to leave comments.
Login now