-
Bump the version number in
setup.cfg
andsinglestoredb/__init__.py
using semantic versioning rules: minor bump for new features, patch bump for bug fixes. -
Add release notes to
docs/src/whatsnew.rst
. -
Run
SINGLESTOREDB_URL=root:@db-server:db-port make html
indocs/src
to generate documentation. You will needsphinx
andsphinx_rtd_theme
installed for this step. You also need a SingleStoreDB server running at the given IP and port to run samples against. -
Commit all changed files with a commit like "Prepare for vX.X.X release".
-
The coverage tests will be triggered by the push, but you should also run
Smoke test
workflow manually which does basic tests on all supported versions of Python. -
Once all workflows are clean, create a new Github release with the name "SingleStoreDB vX.X.X" and set the generated tag to the matching version number. Add the release notes from the
whatsnew.rst
file to the release notes. Creating the release will run thePublic packages
workflow which builds the packages and pubsishes them to PyPI.