Skip to content

Files

Latest commit

 

History

History
38 lines (23 loc) · 926 Bytes

release.md

File metadata and controls

38 lines (23 loc) · 926 Bytes

Release Checklist

  1. Bump any dependencies in Cargo.toml

  2. 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;
  1. Bump version in Cargo.toml

  2. Bump version in deps.rs badge and features section of readme.md

  3. Update changelog.md

  4. cargo +nightly fmt

  5. wasm-pack build -- --features wasm

  6. Fix autogenerated pkg/package.json:

    • name - Replace pqc_kyber with pqc-kyber
    • description - Revert line to replace with old description
  7. git commit -m "release v0.0.0"

  8. git tag v0.0.0

  9. git push origin v0.0.0

  10. Open PR to master, confirm all CI checks pass, merge PR

  11. cargo publish

  12. npm publish