From 4cc1e94147b4897d5780ab1617441ce5da5163d8 Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Tue, 10 Oct 2023 00:54:59 +0200 Subject: [PATCH] document release process --- docs.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs.md b/docs.md index 50727be..ff751ff 100644 --- a/docs.md +++ b/docs.md @@ -32,3 +32,18 @@ The single most important thing for this crate is testing, as long as we cover a The second principle is speed, we can test that with benchmarks. The third priority is binary size, so be careful with huge extra libraries, maybe there is a better way. + + + +### Release Process + +0. checkout current master and make sure no body message with master while you make the release. +1. Update changelog +2. bump versions in `Cargo.toml` and `message_parser_wasm/Cargo.toml` +3. do a commit to master with message `prepare [version]` +4. `git push` +5. `git tag [version]` and `git push --tags` +6. `cargo publish` +7. `cd message_parser_wasm/` +8. `wasm-pack build --scope deltachat --target web` +9. `wasm-pack publish --target web` \ No newline at end of file