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
- Bump the
VERSION
inlib/wasmtime/version.rb
- Run
bundle install
to bump the version inGemfile.lock
- Update the changelog (requires the
github_changelog_generator
gem and being authenticated withgh
)
github_changelog_generator \
-u bytecodealliance \
-p wasmtime-rb \
-t $(gh auth token) \
--future-release v$(grep VERSION lib/wasmtime/version.rb | head -n 1 | cut -d'"' -f2)
- Commit your changes to the
main
branch 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.