VERSION=v0.0.0
-
New branch
git checkout -b release_$VERSION
-
Bump any dependencies in Cargo.toml
-
Run tests:
./tests/test_matrix.sh; ./tests/wasm.js;
-
Bump version in Cargo.toml
-
Update changelog.md
-
cargo fmt
-
wasm-pack build -- --features wasm
-
Fix autogenerated pkg/package.json:
- name - Replace pqc_dilithium with pqc-dilithium
- description - Revert line back to old description
-
git commit -a -m "release $VERSION"
-
git tag $VERSION -m "Version release"
-
git push --atomic origin release_$VERSION $VERSION
-
Open PR to master, confirm all CI checks pass, merge PR
-
cargo publish
-
npm publish
-
git checkout master && git branch -d release_$VERSION