| 1 |
* create a release branch ('vX.Y.Zrel'). In the release branch... |
| 2 |
* make sure version number in PKG-INFO, setup.py and netCDF4/_netCDF4.pyx are up to date |
| 3 |
(in _netCDF4.pyx, change 'Version' in first line of docstring at top of file, |
| 4 |
and __version__ variable). |
| 5 |
* update Changelog and README.md as needed. |
| 6 |
* commit and push all of the above changes. |
| 7 |
* install the module (python setup.py install), then run 'sh create_docs.sh' |
| 8 |
to update html docs. Commit and push the update to docs/netCDF4/index.html. |
| 9 |
* create a pull request for the release branch. |
| 10 |
* After release branch has been merged, tag a release |
| 11 |
git tag -a vX.Y.Zrel -m "version X.Y.Z release" |
| 12 |
git push origin --tags |
| 13 |
* push an empty commit to the netcdf4-python-wheels repo to trigger new builds. |
| 14 |
(e.g. git commit --allow-empty -m "Trigger build") |
| 15 |
You will likely want to edit the .travis.yml file at |
| 16 |
https://github.com/MacPython/netcdf4-python-wheels to specify the BUILD_COMMIT before triggering a build. |
| 17 |
* update the pypi entry, upload the wheels from wheels.scipy.org. |
| 18 |
Lastly, create a source tarball using |
| 19 |
'python setup.py sdist' and upload to pypi. |
| 20 |
* update web docs by copying docs/netCDF4/index.html somewhere, switch |
| 21 |
to the gh-pages branch, copy the index.html file back, commit and push |
| 22 |
the updated index.html file (see README.gh-pages). |