Skip to content

Commit a06f4a0

Browse files
committed
RF - source-release target with clean, a few release doc cleanups
1 parent 7003fe9 commit a06f4a0

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,9 @@ sdist-tests:
247247
bdist-egg-tests:
248248
$(PYTHON) -c 'from nisext.testers import bdist_egg_tests; bdist_egg_tests("nibabel")'
249249

250-
source-release: clean
250+
source-release: distclean
251251
python -m compileall .
252+
make distclean
252253
python setup.py sdist --formats=gztar,zip
253254

254255
venv-tests:

doc/source/devel/make_release.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,15 @@ Release checklist
142142
make doctest
143143
cd ..
144144

145+
* Check everything compiles without syntax errors::
146+
147+
python -m compileall .
148+
145149
* The release should now be ready.
146150

147151
* Edit :file:`nibabel/info.py` to set ``_version_extra`` to ``''``; commit.
148152
Then::
149153

150-
make distclean
151154
make source-release
152155

153156
* Once everything looks good, upload the source release to PyPi. See
@@ -194,6 +197,10 @@ Release checklist
194197
If this is just a maintenance release from ``maint/1.0.x`` or similar, just
195198
tag and set the version number to - say - ``1.0.2.dev``.
196199

200+
* Push tags::
201+
202+
git push --tags
203+
197204
* Make next development release tag
198205

199206
After each release the master branch should be tagged

0 commit comments

Comments
 (0)