Changes
Page history
Update How to prepare the code for a release
authored
Oct 11, 2023
by
Alexis GAMELIN
Hide whitespace changes
Inline
Side-by-side
How-to-prepare-the-code-for-a-release.md
View page @
b22e6290
...
@@ -6,7 +6,8 @@ Here is the checklist to run before releasing a new version for mbtrack2:
...
@@ -6,7 +6,8 @@ Here is the checklist to run before releasing a new version for 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`
*
Check that the tests run without errors:
`poetry run pytest`
*
`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/`
...
...
...
...