Release process¶
Releases of linc-convert are automated with auto. Each release:
- Picks the next version from the labels of the pull requests merged since the last release.
- Updates
CHANGELOG.mdand tags the commit with the version, without avprefix (e.g.0.1.0). - Builds the package and publishes it to PyPI.
- Creates a GitHub release and comments on the released pull requests.
- Zenodo archives the GitHub release and mints a DOI for it, using the title, abstract, authors, keywords and license in
CITATION.cff.
Label pull requests¶
Every pull request needs one of the labels below. The Check PR Labels workflow fails until one is added.
| Label | Changelog section | Version bump |
|---|---|---|
major |
Breaking Change | major |
minor |
Enhancement | minor |
patch |
Bug Fix | patch |
performance |
Performance | patch |
internal |
Internal | none |
documentation |
Documentation | none |
tests |
Tests | none |
dependencies |
Dependency Updates | none |
One more label controls when a release happens:
release: publish a release as soon as this pull request is merged.
Make a release¶
Either:
- Add the
releaselabel to a pull request before merging it. Merging it releases it together with any earlier unreleased pull requests, as long as at least one of them is labeledmajor,minor,patchorperformance. If the last pull request merged has none of the labels in the table, it counts aspatch. - Or merge pull requests without the
releaselabel and later run theAuto-release on PR mergeworkflow by hand from the Actions tab (Run workflow). It releases everything merged since the last release, with or without thereleaselabel.