Update How to prepare the code for a release authored by Alexis GAMELIN's avatar Alexis GAMELIN
Here is the checklist to run before releasing a new version for mbtrack2: Here is the checklist to run before releasing a new version for mbtrack2:
- run the ypaf formatter `yapf -ri .\mbtrack2\` 1. Create a new local branch from the merge develop (with all the feature branch intended to be included in the new version).
2. Go into mbtrack2 root folder
Poetry: 3. Run the black formatter `black mbtrack2`
4. Update the pyproject.toml file with version number, new dependencies and so on.
Update the pyproject.toml file with version number, new dependencies and run: 5. Run poetry:
* `poetry env use python`
``` * `poetry install`
poetry env use python * `poetry build`
poetry install * `poetry publish`
poetry build
poetry publish
```
\ No newline at end of file