Skip to content

Commit f9fec22

Browse files
committed
document release process
1 parent 9149382 commit f9fec22

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ docs/_build
99
/build
1010
/dist
1111
/electrumx.egg-info
12+
/e_x.egg-info
1213
.vscode/
1314
.mypy_cache/
1415
.idea/

docs/release_process.txt

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// 1. Add changelog
2+
3+
// 2. Update version number, in:
4+
// - docs/conf.py
5+
// - electrumx/__init__.py
6+
// - setup.py
7+
8+
// 3. Tag
9+
$ git tag -s VERSION -m "VERSION"
10+
11+
// 4. Build dists
12+
$ python3 setup.py sdist bdist_wheel
13+
14+
// 5. Upload to PyPI
15+
// python3 -m twine upload --repository testpypi dist/*
16+
$ python3 -m twine upload dist/*
17+
18+
// You will be prompted for a username and password. For the username, use __token__.
19+
// For the password, use API token from https://pypi.org/manage/account/ , including the pypi- prefix.

0 commit comments

Comments
 (0)