92334b94a6
This is still manual now, but the script is ready to be used by the buildbot. Pull Request: https://projects.blender.org/blender/blender/pulls/109653 |
||
---|---|---|
.. | ||
README.md | ||
upload-release.py |
PyPi Release Publishing
Setup
Install Twine.
pip3 install twine
Create ~/.pypirc with the following contents. Token is available in same place as other credentials used for publishing releases.
[distutils]
index-servers =
pypi
bpy
[pypi]
username = __token__
password = <SECRET_PYPI_TOKEN>
[bpy]
repository = https://upload.pypi.org/legacy/
username = __token__
password = <SECRET_PYPI_TOKEN>
Release
Trigger release buildbot build with Python Module and Package Delivery enabled. Check download page for Git hash.
Run checks:
./upload-release.py --version X.X.X --hash abcd1234 --check
Upload:
./upload-release.py --version X.X.X --hash abcd1234