Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1015 Bytes

release.md

File metadata and controls

41 lines (26 loc) · 1015 Bytes

Release Checklist

  1. New branch git checkout -b version_release

  2. Bump any dependencies in Cargo.toml

  3. 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;
  1. Bump version in Cargo.toml and the features section of readme.md

  2. Update changelog.md

  3. cargo fmt

  4. wasm-pack build -- --features wasm

  5. Fix autogenerated pkg/package.json:

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

  7. git tag v0.0.0 -m "Version release"

  8. git push origin v0.0.0

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

  10. cargo publish

  11. npm publish