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:
1. Create a new local branch from the merge develop (with all the feature branch intended to be included in the new version). 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 2. Go into mbtrack2 root folder.
3. Run the black formatter `black mbtrack2` 3. Run the black formatter: `black mbtrack2`
4. Update the pyproject.toml file with version number, new dependencies and so on. 4. Update the pyproject.toml file with version number, new dependencies and so on.
5. Run poetry: 5. Run poetry:
* `poetry env use python` * `poetry env use python`
* `poetry install` * `poetry install`
* `poetry build` * `poetry build`
* `poetry publish` * `poetry publish`
6. Merge to stable with a new tag and changelog.
\ No newline at end of file