wasmtime-rb is a Bytecode Alliance project. It follows the Bytecode
Alliance's Code of Conduct and Organizational Code of Conduct.
Install dependencies:
bundle install
Compile the gem, run the tests & Ruby linter:
bundle exec rake
- Update the version of
deterministic-wasi-ctxinext/Cargo.toml - Update the
wasmtime-family of crates to the new version inext/Cargo.toml. Note that this process might involve code changes in case the new version contains public facing API changes. - Bump the
VERSIONinlib/wasmtime/version.rbto match one-to-one the upstreamwasmtimeversion. - Run
bundle installto bump the version inGemfile.lock
- On
main, update the changelog, running the following script (requires thegithub_changelog_generatorgem and being authenticated withgh):
./scripts/generate-changelog.sh
- Commit your changes to the
mainbranch and push them. Ensure you are not doing this on a fork of the repository. - Create a new tag for that release, prefixed with
v(git tag v1.0.0):
git tag v$(grep VERSION lib/wasmtime/version.rb | head -n 1 | cut -d'"' -f2)
git push --tags
- The release workflow will run and push a new version to RubyGems and create a new draft release on GitHub. Edit the release notes if needed, then mark the release as published when the release workflow succeeds.