Release
Django App
Check all the dependencies are on the correct branch:
kb.py
Increment the version number and commit the changes:
uv version --bump patch
git commit -m "chore: 'pyproject.toml' - bump version"
Warning
Make sure the version number is only incremented by 1!
Release the app:
kb.py --release
If you get:
error: Failed to publish `dist/kb_my_app-0.0.47-py3-none-any.whl` to http://salt.kb.vpn/kb/dev/
Caused by: Failed to send POST request
Caused by: Missing credentials for http://salt.kb.vpn/kb/dev/
Then add your devpi
user name and password to .private
:
UV_PUBLISH_USERNAME="my-username"
UV_PUBLISH_PASSWORD="my-password"