Unmodified source tree of upstream commit 280cb339aa158e099eb936033eecd15719770651
("Merge pull request #389 from SomberNight/202607_release_2_0",
https://github.com/spesmilo/electrumx, release 2.0.0, 3 July 2026).
All Palladium-specific changes are in the commits that follow.
34 lines
674 B
Markdown
34 lines
674 B
Markdown
# Release process
|
|
|
|
### 1. Add changelog
|
|
|
|
### 2. Update version number
|
|
|
|
- `docs/conf.py`
|
|
- `electrumx/__init__.py`
|
|
|
|
### 3. Tag
|
|
|
|
```
|
|
$ git tag -s "$VERSION" -m "$VERSION"
|
|
$ git push "$REMOTE_ORIGIN" tag "$VERSION"
|
|
```
|
|
|
|
### 4. Build sdist
|
|
|
|
see [`contrib/sdist/`](contrib/sdist)
|
|
|
|
```
|
|
$ ELECBUILD_COMMIT=HEAD ELECBUILD_NOCACHE=1 ./contrib/sdist/build.sh
|
|
```
|
|
|
|
### 5. Upload to PyPI
|
|
|
|
```
|
|
// $ python3 -m twine upload --repository testpypi dist/$DISTNAME
|
|
$ python3 -m twine upload dist/$DISTNAME
|
|
```
|
|
|
|
This will prompt 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.
|