-
New branch
git checkout -b version_release
-
Bump any dependencies in Cargo.toml
-
Run tests and address sanitiser checks:
export RUSTFLAGS="${RUSTFLAGS:-} -Z sanitizer=address -C target-cpu=native -C target-feature=+aes,+avx2,+sse2,+sse4.1,+bmi2,+popcnt";
export RUSTDOCFLAGS="-Z sanitizer=address";
rustup default nightly;
KAT=1 AVX2=1 NASM=1 ./tests/run_all_tests.sh;
unset RUSTFLAGS;
unset RUSTDOCFLAGS;
rustup default stable;
-
Bump version in Cargo.toml and the features section of readme.md
-
Update changelog.md
-
cargo fmt
-
wasm-pack build -- --features wasm
-
Fix autogenerated pkg/package.json:
- name - Replace pqc_kyber with pqc-kyber
- description - Revert line back to old description
-
git commit -a -m "release v0.0.0"
-
git tag v0.0.0 -m "Version release"
-
git push origin v0.0.0
-
Open PR to master, confirm all CI checks pass, merge PR
-
cargo publish
-
npm publish