Release process

  • Create a new branch named after the next version number “9.9.9”

  • Set this version number in
    • /pyproject.toml: version = "x.y.z"

    • /src/awsmate/__init.py__: __version__ = 'x.y.z'

    • Changelog: new empty section

  • Set the project’s development status classifier in /pyproject.toml

  • …do the job…

  • …test the job…

  • Update the changelog, including the release date

  • PR and merge into master

  • checkout/pull master and delete dev branch

  • Set commit tag

  • PyPi release: as per https://packaging.python.org/en/latest/tutorials/packaging-projects/
    • pip3 install --upgrade build

    • python3 -m build

    • pip3 install --upgrade twine

    • python3 -m twine upload dist/awsmate-<x.y.z>* (use __token__)

  • Readthedocs: maintain versions (help in https://docs.readthedocs.io/en/stable/tutorial/)

  • Github: create release