Update How to prepare the code for a release authored by Alexis GAMELIN's avatar Alexis GAMELIN
...@@ -13,8 +13,8 @@ Here is the checklist to run before releasing a new version for mbtrack2: ...@@ -13,8 +13,8 @@ Here is the checklist to run before releasing a new version for mbtrack2:
* `poetry build` * `poetry build`
* Test build on test pypi: * Test build on test pypi:
* `poetry config repositories.test-pypi https://test.pypi.org/legacy/` * `poetry config repositories.test-pypi https://test.pypi.org/legacy/`
* `poetry config http-basic.test-pypi <username> <password>` * `poetry config http-basic.test-pypi __token__ api_token`
* `poetry publish test-pypi` * `poetry publish -r test-pypi`
* Install in a clean virtual environment (e.g. google colab) to check that it is ok using: * Install in a clean virtual environment (e.g. google colab) to check that it is ok using:
* `pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple mbtrack2` * `pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple mbtrack2`
8. Merge to stable with a new tag and changelog. 8. Merge to stable with a new tag and changelog.
... ...
......