mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-26 08:50:47 +00:00
docs: improve release documentation
This commit is contained in:
@@ -481,21 +481,24 @@ Once the PR against stable is merged (best right after merging):
|
|||||||
|
|
||||||
### pypi
|
### pypi
|
||||||
|
|
||||||
!!! Note
|
!!! Warning "Manual Releases"
|
||||||
This process is now automated as part of Github Actions.
|
This process is automated as part of Github Actions.
|
||||||
|
Manual pypi pushes should not be necessary.
|
||||||
|
|
||||||
To create a pypi release, please run the following commands:
|
??? example "Manual release"
|
||||||
|
To manually create a pypi release, please run the following commands:
|
||||||
|
|
||||||
Additional requirement: `wheel`, `twine` (for uploading), account on pypi with proper permissions.
|
Additional requirement: `wheel`, `twine` (for uploading), account on pypi with proper permissions.
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
python setup.py sdist bdist_wheel
|
pip install -U build
|
||||||
|
python -m build --sdist --wheel
|
||||||
|
|
||||||
# For pypi test (to check if some change to the installation did work)
|
# For pypi test (to check if some change to the installation did work)
|
||||||
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
|
||||||
|
|
||||||
# For production:
|
# For production:
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
```
|
```
|
||||||
|
|
||||||
Please don't push non-releases to the productive / real pypi instance.
|
Please don't push non-releases to the productive / real pypi instance.
|
||||||
|
|||||||
Reference in New Issue
Block a user