-
Notifications
You must be signed in to change notification settings - Fork 7
Preparing a release
-
We use semantic versioning MAJOR.MINOR.PATCH (i.e., briefly, major revision changes whenever the API changes in backwards-incompatible manner, MINOR changes for new features, PATCH changes for fixes that correct functionality; as long as MAJOR == 0, we can break the API with increasing MINOR.)
-
Releases are cut from the master branch and tagged with MAJOR.MINOR.PATCH (note: the release tag determines the tag because we use versioneer, which obtains the release number from the git tag). We do from the master branch:
git tag <major>.<minor>.<patch>
python setup.py sdist bdist_wheel
- check with
twine check dist/*
twine upload dist/*
-
Note: the tags need to be pushed to GitHub with
git push --tags
. (You can add text to the releases on GitHub.) -
Packages are published from the tagged (pip package, conda package (TODO), tar balls on GitHub)
-
Docs are managed on ReadTheDocs and automatically update.
- Zenodo archival
- conda release