Skip to content

Commit 0b4d1c4

Browse files
Add release process and versioning documents
1 parent 71b636d commit 0b4d1c4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,22 @@ To re-generate them, you need to install the Rust compiler `rustc` and Cargo, th
9797
The rake task installs [`wit-bindgen`](https://github.com/bytecodealliance/wit-bindgen) on demand, then just execute it for each generated code
9898

9999
If you see `missing executable: cargo`, please make sure `cargo` is installed correctly in your `PATH`.
100+
101+
## Release Process
102+
103+
To bump up npm package version, please follow the below steps:
104+
105+
```
106+
$ rake 'npm:bump_version[ruby-head-wasm-wasi, 0.6.0]'
107+
$ git commit -m"Bump ruby-head-wasm-wasi version to 0.6.0"
108+
$ git tag ruby-head-wasm-wasi/0.6.0
109+
$ git push origin ruby-head-wasm-wasi/0.6.0
110+
```
111+
112+
## Versioning Scheme
113+
114+
This repository contains multiple packages to be released independently. Each package has its own semantic version number.
115+
116+
The git tag name is composed of the package name and the version number, separated by `/`. For example, `ruby-head-wasm-wasi/0.6.0` is the git tag name for the `ruby-head-wasm-wasi` package version `0.6.0`.
117+
118+
Also this repository releases all packages every day as nightly builds. The version format of nightly builds is not guaranteed to be stable, but it is usually composed of the date and monotonically increasing alphabetical characters. For example, `2023-01-28-a` is a git tag name for a nightly build of `2023/01/28`. Each package has its own nightly versioning scheme.

0 commit comments

Comments
 (0)