File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Release Process
2
+
3
+ This document describes the steps to release a new version of the crate or wasi-demo-app images.
4
+
5
+ ## Crate Release Process
6
+
7
+ ### Release Steps
8
+
9
+ 1 . Bump package and dependency versions in:
10
+ * ` ./compiler/Cargo.toml ` : Bump the package version as needed.
11
+ * ` ./ttrpc-codegen/Cargo.toml ` : Bump the package version as needed.
12
+ * ` ./Cargo.toml ` : Bump package version as needed. Then bump the workspace dependencies version to match the respective crates versions.
13
+ 2 . Commit the changes and get them merged in the repo.
14
+ 2 . Dry run the ` cargo publish ` command as follow
15
+ ``` bash
16
+ cargo +nightly publish \
17
+ -Z package-workspace \
18
+ --dry-run \
19
+ --locked \
20
+ -p ttrpc \
21
+ -p ttrpc-codegen \
22
+ -p ttrpc-compiler
23
+ ```
24
+ 2 . If the dry run succeeds, publish the crates that need publishing using ` cargo publihs -p <crate> ` in the following order
25
+ 1 . ` ttrpc-compiler `
26
+ 2 . ` ttrpc-codegen `
27
+ 3 . ` ttrpc `
You can’t perform that action at this time.
0 commit comments