Managing Releases
Making a new release
- Make sure you are on the main branch, and you have pulled all recently merged changes:
git pull origin main
- Bump the version number in
setup.cfg
- Make an entry in
changelog.md
- Commit this change:
git commit -am "Bumped version number, and updated changelog."
- Push this change directly to main:
git push origin main
- Delete everything in
dist/
:rm -rf dist/
- Run
python -m build
, which recreatesdist/
-
Tag the new release:
$ git tag vA.B.C
$ git push origin vA.B.C
-
Push to PyPI:
-
View on PyPI: https://pypi.org/project/django-simple-deploy/
-
Test the released package:
Deleting branches
Delete the remote and local development branches:
Deleting tags
If needed:
- See Git docs for more about tagging.
- See also GH docs about releases.