|
| 1 | +--- |
| 2 | +name: Release checklist |
| 3 | +about: 'Maintainers only: Checklist for making a new release' |
| 4 | +title: 'Release vX.Y.Z' |
| 5 | +labels: 'maintenance' |
| 6 | +assignees: '' |
| 7 | + |
| 8 | +--- |
| 9 | + |
| 10 | +**Zenodo DOI:** |
| 11 | + |
| 12 | +<!-- Optional --> |
| 13 | +**Target date:** YYYY/MM/DD |
| 14 | + |
| 15 | +## Draft a Zenodo archive (to be done by a manager on Zenodo) |
| 16 | + |
| 17 | +- [ ] Go to the Zenodo entry for this project (find the link to the latest Zenodo release on the `README.md` file) |
| 18 | +- [ ] Create a "New version" of it. |
| 19 | +- [ ] Get a new DOI for the new release |
| 20 | +- [ ] Copy and paste the reserved DOI to this issue |
| 21 | +- [ ] Update release date |
| 22 | +- [ ] Update version number in Title (make sure there is a leading `v`, like `v1.5.7`) |
| 23 | +- [ ] Update version number (use a leading `v` as well) |
| 24 | +- [ ] Add as authors any new contributors who have added themselves to `AUTHORS.md` in the same order |
| 25 | +- [ ] Ensure that the first author is "samplepackagename Developers" and others are listed alphabetically by last name |
| 26 | +- [ ] Save the release draft |
| 27 | + |
| 28 | +## Update the changelog |
| 29 | + |
| 30 | +- [ ] Generate a list of commits between the last release tag and now: `git log HEAD...v1.2.3 > changes.md` |
| 31 | +- [ ] Use this to summary the major changes to the code and add short descriptions to `CHANGELOG.md` (not `docs/changelog.md`!). |
| 32 | +- [ ] Add the release date and Zenodo DOI badge to the top |
| 33 | +- [ ] Add contributors to the list |
| 34 | +- [ ] Open a PR to update the changelog |
| 35 | +- [ ] Merge the PR |
| 36 | + |
| 37 | +## Make a release |
| 38 | + |
| 39 | +After the changelog PR is merged: |
| 40 | + |
| 41 | +- [ ] Draft a new release on GitHub |
| 42 | +- [ ] The tag and release name should be a version number (following Semantic Versioning) with a leading `v` (`v1.5.7`) |
| 43 | +- [ ] Fill the release description with a Markdown version of the latest changelog entry (including the DOI badge) |
| 44 | +- [ ] Publish the release |
| 45 | + |
| 46 | +## Publish to Zenodo |
| 47 | + |
| 48 | +- [ ] Upload the zip archive from the GitHub release to Zenodo |
| 49 | +- [ ] Double check all information (date, authors, version) |
| 50 | +- [ ] Publish the new version on Zenodo |
| 51 | + |
| 52 | +## Conda-forge package |
| 53 | + |
| 54 | +A PR should be opened automatically on the project feedstock repository. |
| 55 | + |
| 56 | +- [ ] Add/remove/update any dependencies that have changed in `meta.yaml` |
| 57 | +- [ ] If dropping/adding support for Python/numpy versions, make sure the correct version restrictions are applied in `meta.yaml` |
| 58 | +- [ ] Merge the PR |
0 commit comments