-
Notifications
You must be signed in to change notification settings - Fork 11
Making a Release
Matthew Hambley edited this page Nov 28, 2023
·
10 revisions
Some notes on process for making releases
This covers major and minor version number bumps.
- Create a release branch
- Create development branch from it
This covers patch version number bumps only.
- Create development branch from appropriate release branch
- Update
source/stylist/__init__.py
with release version number - Update
README.md
- Create packages
python3 -m build . --sdist --wheel
- Check package creation
python3 -m twine check dist/*
- Create and merge change request
- Tag release
Documentation for the release will be generated automatically but you will have to edit index.html
by hand.
- Upload to PyPI
python3 -m twine upload dist/*
- Update
source/stylist/__init__.py
with development version number
CondaForge will detect the package has changed on PyPI and automatically create a patch.
An attempt was made to capture this in a GitHub workflow but it looks like it might well be more trouble than it's worth.