Show More
@@ -23,7 +23,7 b' _version_major = 7' | |||||
23 | _version_minor = 0 |
|
23 | _version_minor = 0 | |
24 | _version_patch = 0 |
|
24 | _version_patch = 0 | |
25 | _version_extra = '.dev' |
|
25 | _version_extra = '.dev' | |
26 | _version_extra = 'b1' |
|
26 | # _version_extra = 'b1' | |
27 | # _version_extra = '' # Uncomment this for full releases |
|
27 | # _version_extra = '' # Uncomment this for full releases | |
28 |
|
28 | |||
29 | # Construct full version string from these. |
|
29 | # Construct full version string from these. |
@@ -222,7 +222,7 b' Commit the changes to release.py::' | |||||
222 | Create and push the tag:: |
|
222 | Create and push the tag:: | |
223 |
|
223 | |||
224 | git tag -am "release $VERSION" "$VERSION" |
|
224 | git tag -am "release $VERSION" "$VERSION" | |
225 |
git push origin |
|
225 | git push origin $VERSION | |
226 |
|
226 | |||
227 | Update release.py back to ``x.y-dev`` or ``x.y-maint``, and re-add the |
|
227 | Update release.py back to ``x.y-dev`` or ``x.y-maint``, and re-add the | |
228 | ``development`` entry in ``docs/source/whatsnew/index.rst`` and push:: |
|
228 | ``development`` entry in ``docs/source/whatsnew/index.rst`` and push:: |
@@ -17,9 +17,7 b' def build_release():' | |||||
17 |
|
17 | |||
18 | with open('docs/source/whatsnew/index.rst') as f: |
|
18 | with open('docs/source/whatsnew/index.rst') as f: | |
19 | if ' development' in f.read(): |
|
19 | if ' development' in f.read(): | |
20 | pass |
|
20 | raise ValueError("Please remove `development` from what's new toctree for release") | |
21 | # raise ValueError("Please remove `development` from what's new toctree for release") |
|
|||
22 |
|
||||
23 |
|
21 | |||
24 | # Cleanup |
|
22 | # Cleanup | |
25 | for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'), |
|
23 | for d in ['build', 'dist', pjoin('docs', 'build'), pjoin('docs', 'dist'), |
General Comments 0
You need to be logged in to leave comments.
Login now