Testing and publishing are automatically done in GitHub Actions.
The definitions are located under .github directory.
- Get a token from crates.io and set it into
CRATES_PASSsecrets via the settings page of this repository- Token can be issued in "API Access" section in crates.io account settings page
- Fix version in
Cargo.toml(e.g. 0.1.0) - Git tag version with prefix
rust/(e.g.git tag rust/0.1.0) - Push tag to master
- CI automatically publish a new crate to crates.io after testing
- Set the PyPi user name and password into
PYPI_USERandPYPI_PASSrespectively, via the settings page of this repository. - Fix version in
python/pyproject.toml,python/Cargo.toml,python/src/lib.rs- Easily done with pyversionup: e.g.
versionup 0.1.0
- Easily done with pyversionup: e.g.
- Git tag version with prefix
python/ - Push tag to master
- CI automatically publish package to PyPi after testing