| 1 | # Checklist for NIXPY release |
| 2 | |
| 3 | Most of the following steps are checked and performed by the [release script](scripts/dorelease.py). |
| 4 | |
| 5 | 1. Create branch (if necessary) |
| 6 | For releases with breaking changes (e.g., 1.2.0, 1.3.0, etc, see the [NIX API and file format versioning](https://github.com/G-Node/nix/blob/master/docs/versioning.md) guide) create a new branch called `vX.Y` (e.g., `v1.2`). |
| 7 | This is not necessary for minor releases with non-breaking changes (e.g., `1.2.0 → 1.2.1`) |
| 8 | 2. Tag with release version |
| 9 | Tag the latest commit with the full version number (e.g., `1.2.1`). |
| 10 | 3. Update readme |
| 11 | Change the Travis, and Coverage badges in the readme to point to the status of the new branch. |
| 12 | 4. Change CI configurations |
| 13 | Travis and Appveyor configurations should be changed so that the new nixpy branch builds using the corresponding nix branch. |
| 14 | 5. Increment version number in info.py |
| 15 | 6. Upload to PyPI |
| 16 | Upload source archive using: |
| 17 | ``` |
| 18 | $ python setup.py sdist |
| 19 | $ twine upload dist/nixio-X.Y.Z.tar.gz |
| 20 | ``` |
| 21 | |
| 22 | Upload Windows wheels, found in Appveyor artifacts. |
| 23 | 7. Create [release on GitHub](https://github.com/G-Node/nixpy/releases). |