taken from pulp-cli
repository
- Run
pip install bump2version towncrier==19.9.0 .
(see also thepulp_deb
release CI) - Run
bumpversion release
. - Generate the changelog (
towncrier --yes
). - Check and fix the changelog according to markdown formatting and language conventions.
- Commit your local changes with commit message "Release 0.1.0".
- Run
bumpversion minor
to update the version to the next dev release version and commit with "Bump version to 0.2.0.dev". - Push your commits, open a PR, and get it merged.
- After your PR is merged, pull the latest changes from develop.
- Now tag your release commit (e.g.
git tag -s 0.1.0
) and push to pulp/pulp-cli. - Monitor the build job and then check PyPI to make sure the package has been uploaded and the docs updated.
- Announce the release at https://discourse.pulpproject.org/c/announcements/6.