Skip to content

Commit a60dfc9

Browse files
committed
DOC: more small edits to Changelog, release doc
1 parent 72d1511 commit a60dfc9

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

Changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ API changes and deprecations
134134
``GiftiImageParser.parse`` method, for removal in 4.0;
135135
* Deprecation of ``loadsave`` functions ``guessed_image_type`` and
136136
``which_analyze_type``, in favor of new API where each image class tests the
137-
file for compatibility during load, for removal in 4.0;
137+
file for compatibility during load, for removal in 4.0.
138138

139139
2.0.2 (Monday 23 November 2015)
140140
===============================

doc/source/devel/make_release.rst

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Release checklist
5959

6060
* Check the copyright year in ``doc/source/conf.py``
6161

62-
* Refresh the ``REAMDE.rst`` text from the ``LONG_DESCRIPTION`` in ``info.py``
62+
* Refresh the ``README.rst`` text from the ``LONG_DESCRIPTION`` in ``info.py``
6363
by running ``make refresh-readme``.
6464

6565
Check the output of::
@@ -87,6 +87,10 @@ Release checklist
8787
* Clean::
8888

8989
make distclean
90+
# Check no files outside version control that you want to keep
91+
git status
92+
# Nuke
93+
git clean -fxd
9094

9195
* Make sure all tests pass (from the nibabel root directory)::
9296

@@ -196,27 +200,34 @@ Release checklist
196200
[distutils]
197201
index-servers =
198202
pypi
203+
warehouse
199204

200205
[pypi]
201206
username:your.pypi.username
202207
password:your-password
203208

204-
[server-login]
209+
[warehouse]
210+
repository: https://upload.pypi.io/legacy/
205211
username:your.pypi.username
206212
password:your-password
207213

208214
* When ready::
209215

216+
make distclean
217+
git clean -fxd
210218
python setup.py register
211-
python setup.py sdist --formats=gztar,zip upload
219+
python setup.py sdist --formats=gztar,zip
220+
# -s flag to sign the release
221+
twine upload -s dist/nibabel*
212222

213-
* Tag the release with tag of form ``2.0.0``::
223+
* Tag the release with signed tag of form ``2.0.0``::
214224

215-
git tag -am "Something about this release' 2.0.0
225+
git tag -s 2.0.0
216226

217227
* Push the tag and any other changes to trunk with::
218228

219-
git push --tags
229+
git push origin 2.0.0
230+
git push
220231

221232
* Now the version number is OK, push the docs to github pages with::
222233

0 commit comments

Comments
 (0)