Skip to content

Commit eea39bb

Browse files
committed
dev
1 parent fad0193 commit eea39bb

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

DEV.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,20 @@ tools/build.sh release
4545
cargo test && pytest -q
4646
```
4747

48+
## Release
49+
50+
Publishing is handled by GitHub Actions in `.github/workflows/ci.yml` and is triggered by pushing a tag matching `v*`.
51+
52+
1. Bump `version` in `pyproject.toml` and commit to `main`.
53+
2. Tag that commit with the same version and push the tag:
54+
55+
```bash
56+
git tag v0.1.4
57+
git push origin v0.1.4
58+
```
59+
60+
The workflow builds wheels/sdist, creates a GitHub Release, and publishes to PyPI.
61+
4862
## How the binary distribution works
4963

5064
Maturin's `data` option in `pyproject.toml` points to `python/exhash.data/`. Files in the `scripts/` subdirectory are installed as standalone executables when the wheel is installed via pip. The build script compiles the Rust `[[bin]]` targets and copies them there before building the wheel.

0 commit comments

Comments
 (0)