Here we try to keep an up to date record of how new releases are made. This documentation serves both as a checklist, to reduce the project's dependency on key individuals, and as a stepping stone to more automation.
-
Update changelog and commit it.
-
Bump the version number in
setup.py
and commit changes. -
Merge the release branch (
develop
in the example) intomain
:git checkout main git merge --no-ff -m "Release v0.0.1" develop
-
Tag the release:
git tag -a -m "Release v0.0.1" v0.0.1
-
Push to GitHub:
git push --follow-tags
-
Merge
main
back intodevelop
and push the branch to GitHub. -
Create a new release on GitHub: https://github.com/jcass77/django-apscheduler/releases/new
-
Clicking "Publish" will automatically trigger a new release to get pushed to PyPi.