You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEV.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,20 @@ tools/build.sh release
45
45
cargo test&& pytest -q
46
46
```
47
47
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
+
48
62
## How the binary distribution works
49
63
50
64
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