Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (18 loc) · 1.01 KB

CONTRIBUTING.md

File metadata and controls

25 lines (18 loc) · 1.01 KB

For Maintainer

Publishing flow

Testing and publishing are automatically done in GitHub Actions. The definitions are located under .github directory.

Rust

  1. Get a token from crates.io and set it into CRATES_PASS secrets via the settings page of this repository
  2. Fix version in Cargo.toml (e.g. 0.1.0)
  3. Git tag version with prefix rust/ (e.g. git tag rust/0.1.0)
  4. Push tag to master
  5. CI automatically publish a new crate to crates.io after testing

Python

  1. Set the PyPi user name and password into PYPI_USER and PYPI_PASS respectively, via the settings page of this repository.
  2. Fix version in python/pyproject.toml, python/Cargo.toml, python/src/lib.rs
  3. Git tag version with prefix python/
  4. Push tag to master
  5. CI automatically publish package to PyPi after testing