From f9fec2233d999cdceda814d67b129094718bb513 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 10 Dec 2020 19:55:38 +0100 Subject: [PATCH] document release process --- .gitignore | 1 + docs/release_process.txt | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 docs/release_process.txt diff --git a/.gitignore b/.gitignore index c0894bf19..cceb134da 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ docs/_build /build /dist /electrumx.egg-info +/e_x.egg-info .vscode/ .mypy_cache/ .idea/ diff --git a/docs/release_process.txt b/docs/release_process.txt new file mode 100644 index 000000000..792d830d6 --- /dev/null +++ b/docs/release_process.txt @@ -0,0 +1,19 @@ +// 1. Add changelog + +// 2. Update version number, in: +// - docs/conf.py +// - electrumx/__init__.py +// - setup.py + +// 3. Tag +$ git tag -s VERSION -m "VERSION" + +// 4. Build dists +$ python3 setup.py sdist bdist_wheel + +// 5. Upload to PyPI +// python3 -m twine upload --repository testpypi dist/* +$ python3 -m twine upload dist/* + +// You will be prompted for a username and password. For the username, use __token__. +// For the password, use API token from https://pypi.org/manage/account/ , including the pypi- prefix.