@@ -77,21 +77,6 @@ Release checklist
77
77
* Do a final check on the `nipy buildbot `_. Use the ``try_branch.py ``
78
78
scheduler available in nibotmi _ to test particular schedulers.
79
79
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
-
95
80
* Make sure all tests pass (from the nibabel root directory)::
96
81
97
82
nosetests --with-doctest nibabel
@@ -185,6 +170,15 @@ Release checklist
185
170
* https://nipy.bic.berkeley.edu/builders/nibabel-bdist32-35
186
171
* https://nipy.bic.berkeley.edu/builders/nibabel-bdist64-27
187
172
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
+
188
182
* Once everything looks good, you are ready to upload the source release to
189
183
PyPi. See `setuptools intro `_. Make sure you have a file
190
184
``\$HOME/.pypirc ``, of form::
@@ -203,10 +197,16 @@ Release checklist
203
197
username:your.pypi.username
204
198
password:your-password
205
199
206
- * When ready ::
200
+ * Clean ::
207
201
208
202
make distclean
203
+ # Check no files outside version control that you want to keep
204
+ git status
205
+ # Nuke
209
206
git clean -fxd
207
+
208
+ * When ready::
209
+
210
210
python setup.py register
211
211
python setup.py sdist --formats=gztar,zip
212
212
# -s flag to sign the release
@@ -259,7 +259,6 @@ Release checklist
259
259
260
260
git merge -s ours maint/2.0.x
261
261
262
-
263
262
If this is just a maintenance release from ``maint/2.0.x `` or similar, just
264
263
tag and set the version number to - say - ``2.0.2.dev ``.
265
264
0 commit comments