Skip to content

Releases

Versioning

We try to follow the PEP 440 versioning scheme, which is mostly based on semantic versioning.

Procedure

  1. Make sure you're on main branch and it is up-to-date.
  2. Add an entry in changelog.md. Remember to give thanks to all the contributors! Commit this change.
  3. Update version using tbump. Run pipx run tbump <new-semantic-version-number>.

    Note: You may need to install pipx first if it's not already installed. Follow the instructions at pipx documentation.

    Executing tbump will create a commit containing version updates to necessary files (i.e. tbump.toml, version), create a new tag from for the new version from the current ref in main branch, and finally push the commits and tag to remote.

    Following the above steps when a new tag is created, GitHub Action workflow will do following:

  4. Edit the release in GitHub and copy the changelog entry into its description.