This is a list of steps to complete when making a new release.
System prereqs:
- Ubuntu 16.04:
sudo apt update,sudo apt install build-essential,pip3 install maturin twine,cargo install cargo-deb,sudo apt install snapcraft. - Centos 7:
yum update,yum install gcc gcc-c++ make,cargo install cargo-rpm,yum install rpm-build. - Windows: Install Visual Studio Community.
- Run
python update_version.py v.v.v. - Update Rust tools:
rustup update - Run
cargo test,cargo fmt - Commit and push the repo
- Check that CI pipeline passed
- Run
cargo build --releaseon Windows and Ubuntu. - Zip the Windows
.exe, along withREADME.mdandLICENSE. - Run
maturin buildon Windows and Ubuntu to build wheels.
- Run
cargo packageandcargo publish(Any os). - For the Windows and Ubuntu wheels, run
twine upload (wheelname). - Add a release on Github, following the format of previous releases.
- Upload the following binaries to the release page: Linux binary, Windows exe.