Changes
Page history
Update How to prepare the code for a release
authored
Oct 10, 2023
by
Alexis GAMELIN
Show whitespace changes
Inline
Side-by-side
How-to-prepare-the-code-for-a-release.md
View page @
7578bfb5
...
...
@@ -8,9 +8,13 @@ Here is the checklist to run before releasing a new version for mbtrack2:
*
`poetry env use python`
*
`poetry install`
*
`poetry build`
*
Test build on test pypi:
*
`poetry config repositories.test-pypi ``https://test.pypi.org/legacy/`
*
`poetry config http-basic.test-pypi <username> <password>`
*
`poetry publish -r test-pypi`
*
`pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple mbtrack2`
*
`poetry publish`
*
Install in a clean virtual environment to check that it is ok.
6.
Merge to stable with a new tag and changelog.
7.
Publish on pypi:
*
`poetry config http-basic.pypi <username> <password>`
*
`poetry publish`
\ No newline at end of file