@@ -77,21 +77,6 @@ Release checklist
7777* Do a final check on the `nipy buildbot `_. Use the ``try_branch.py ``
7878 scheduler available in nibotmi _ to test particular schedulers.
7979
80- * If you have travis-ci _ building set up for your own repo you might want to
81- push the code in it's current state to a branch that will build, e.g::
82-
83- git branch -D pre-release-test # in case branch already exists
84- git co -b pre-release-test
85- git push your-github-user pre-release-test -u
86-
87- * Clean::
88-
89- make distclean
90- # Check no files outside version control that you want to keep
91- git status
92- # Nuke
93- git clean -fxd
94-
9580* Make sure all tests pass (from the nibabel root directory)::
9681
9782 nosetests --with-doctest nibabel
@@ -185,6 +170,15 @@ Release checklist
185170 * https://nipy.bic.berkeley.edu/builders/nibabel-bdist32-35
186171 * https://nipy.bic.berkeley.edu/builders/nibabel-bdist64-27
187172
173+ * Make sure you have travis-ci _ building set up for your own repo. Make a new
174+ ``release-check `` (or similar) branch, and push the code in its current
175+ state to a branch that will build, e.g::
176+
177+ git branch -D release-check # in case branch already exists
178+ git co -b release-check
179+ # You might need the --force flag here
180+ git push your-github-user release-check -u
181+
188182* Once everything looks good, you are ready to upload the source release to
189183 PyPi. See `setuptools intro `_. Make sure you have a file
190184 ``\$HOME/.pypirc ``, of form::
@@ -203,10 +197,16 @@ Release checklist
203197 username:your.pypi.username
204198 password:your-password
205199
206- * When ready ::
200+ * Clean ::
207201
208202 make distclean
203+ # Check no files outside version control that you want to keep
204+ git status
205+ # Nuke
209206 git clean -fxd
207+
208+ * When ready::
209+
210210 python setup.py register
211211 python setup.py sdist --formats=gztar,zip
212212 # -s flag to sign the release
@@ -259,7 +259,6 @@ Release checklist
259259
260260 git merge -s ours maint/2.0.x
261261
262-
263262 If this is just a maintenance release from ``maint/2.0.x `` or similar, just
264263 tag and set the version number to - say - ``2.0.2.dev ``.
265264
0 commit comments